summaryrefslogtreecommitdiff
path: root/weather.py
diff options
context:
space:
mode:
authorJacob McDonnell <jacob@simplelittledream.com>2022-10-31 15:17:09 -0400
committerJacob McDonnell <jacob@simplelittledream.com>2022-10-31 15:17:09 -0400
commitb2e6cdde266260a525ef80147dacbcd2ada3a985 (patch)
treec1c40d6fbba8d53889040bffb22e46c58b51b4c5 /weather.py
parent4681ebe60b5020c63c58034ad3072c0c5e3ca940 (diff)
Better organization of codeporting-to-pico
Diffstat (limited to 'weather.py')
-rw-r--r--weather.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/weather.py b/weather.py
index 72323fc..76af11a 100644
--- a/weather.py
+++ b/weather.py
@@ -2,8 +2,9 @@ import requests
import json
from time import sleep
from datetime import datetime
-from settings import weather
+from settings import getSettings
+weather = getSettings("weather")
gridX = weather["gridX"]
gridY = weather["gridY"]
wfo = weather["WFO"]