Initial release
[netstory] / src / opt / netstory / settings.py
diff --git a/src/opt/netstory/settings.py b/src/opt/netstory/settings.py
new file mode 100644 (file)
index 0000000..55e3758
--- /dev/null
@@ -0,0 +1,13 @@
+# This file is part of NetStory.
+# Author: Jere Malinen <jeremmalinen@gmail.com>
+
+
+import os
+
+
+HOME = os.getenv('HOME')
+DIR = HOME + '/.netstory/'
+DATA = DIR + 'data.csv'
+DATA_TIME_FORMAT = '%Y-%m-%d %H:%M:%S'
+GPRS_HOME_DOWNLOAD = '/system/osso/connectivity/network_type/GPRS/gprs_home_rx_bytes'
+GPRS_HOME_UPLOAD = '/system/osso/connectivity/network_type/GPRS/gprs_home_tx_bytes'
\ No newline at end of file