Skip to content

Commit 63312ff

Browse files
authored
Merge pull request #2111 from caternuson/pp_tides_reorg
Fix PyPortal Tides for Bundler
2 parents a43b458 + aa922be commit 63312ff

File tree

14 files changed

+46466
-4
lines changed

14 files changed

+46466
-4
lines changed

PyPortal_Tides/admiralty_tides/code.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
headers={"Ocp-Apim-Subscription-Key":secrets['Ocp-Apim-Subscription-Key']},
3434
json_path=DATA_LOCATION,
3535
status_neopixel=board.NEOPIXEL,
36-
default_bg=cwd+"/tides_bg.bmp")
36+
default_bg=cwd+"/images/tides_bg.bmp")
3737

3838
# Connect to the internet and get local time
3939
pyportal.get_local_time()

PyPortal_Tides/admiralty_tides_graphical/code.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
headers={"Ocp-Apim-Subscription-Key":secrets['Ocp-Apim-Subscription-Key']},
4242
json_path=DATA_LOCATION,
4343
status_neopixel=board.NEOPIXEL,
44-
default_bg=cwd+"/tides_bg_graph.bmp")
44+
default_bg=cwd+"/images/tides_bg_graph.bmp")
4545

4646
# Connect to the internet and get local time
4747
pyportal.get_local_time()

PyPortal_Tides/pp_tides/code.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
DATA_LOCATION = ["predictions"]
2626

2727
# gotta have one of these
28-
pyportal = PyPortal(status_neopixel=board.NEOPIXEL, default_bg="/tides_bg.bmp")
28+
pyportal = PyPortal(status_neopixel=board.NEOPIXEL, default_bg="/images/tides_bg.bmp")
2929

3030
# Connect to the internet and get local time
3131
pyportal.get_local_time()

0 commit comments

Comments
 (0)