summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--settings.py.default7
-rwxr-xr-xtest.py2
2 files changed, 5 insertions, 4 deletions
diff --git a/settings.py.default b/settings.py.default
index e1df75e..95c0d3d 100644
--- a/settings.py.default
+++ b/settings.py.default
@@ -1,3 +1,4 @@
-APIKEY = '1234'
-
-HOST = 'localhost'
+PAD = {
+ 'apikey': '1234',
+ 'host': 'localhost'
+}
diff --git a/test.py b/test.py
index 9013dcb..0e39d01 100755
--- a/test.py
+++ b/test.py
@@ -39,6 +39,6 @@ def load_interpreters():
interpreters['best'] = interpreters[best]
return interpreters
-p = padlite.PadLite(settings.APIKEY, settings.HOST)
+p = padlite.PadLite(settings.PAD['apikey'], settings.PAD['host'])
interpreters = load_interpreters()
interpreters['best'](locals())