summaryrefslogtreecommitdiff
path: root/news.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 /news.py
parent4681ebe60b5020c63c58034ad3072c0c5e3ca940 (diff)
Better organization of codeporting-to-pico
Diffstat (limited to 'news.py')
-rw-r--r--news.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/news.py b/news.py
index e9afeab..cdec011 100644
--- a/news.py
+++ b/news.py
@@ -1,8 +1,9 @@
import requests
import json
from time import sleep
-from settings import news
+from settings import getSettings
+news = getSettings("news")
apiKey = news["apikey"]
countryCode = news["country"]