File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change 12
12
#-------------------------------------------
13
13
14
14
# pylint: disable=line-too-long
15
- DATA_SOURCE = "https://tidesandcurrents.noaa.gov/api/datagetter?date=today&product=predictions&datum=mllw&interval=hilo&format=json&units=metric&time_zone=lst_ldt&station=" + STATION_ID
15
+ DATA_SOURCE = "https://api. tidesandcurrents.noaa.gov/api/prod /datagetter?date=today&product=predictions&datum=mllw&interval=hilo&format=json&units=metric&time_zone=lst_ldt&station=" + STATION_ID
16
16
DATA_LOCATION = ["predictions" ]
17
17
18
18
# determine the current working directory needed so we know where to find files
@@ -83,7 +83,6 @@ def update_display(time_info, update_tides=False):
83
83
time_info .tm_min ,
84
84
time_info .tm_sec )
85
85
86
- board .DISPLAY .refresh_soon ()
87
86
88
87
# First run update
89
88
tide_info = get_tide_info ()
Original file line number Diff line number Diff line change 17
17
#-------------------------------------------
18
18
19
19
# pylint: disable=line-too-long
20
- DATA_SOURCE = "https://tidesandcurrents.noaa.gov/api/datagetter?date=today&product=predictions&datum=mllw&format=json&units=metric&time_zone=lst_ldt&station=" + STATION_ID
20
+ DATA_SOURCE = "https://api. tidesandcurrents.noaa.gov/api/prod /datagetter?date=today&product=predictions&datum=mllw&format=json&units=metric&time_zone=lst_ldt&station=" + STATION_ID
21
21
DATA_LOCATION = ["predictions" ]
22
22
23
23
WIDTH = board .DISPLAY .width
@@ -132,7 +132,6 @@ def update_display(time_info, update_tides=False):
132
132
time_info .tm_min ,
133
133
time_info .tm_sec )
134
134
135
- board .DISPLAY .refresh_soon ()
136
135
137
136
# First run update
138
137
tide_data = get_tide_data ()
You can’t perform that action at this time.
0 commit comments