X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;f=src%2Fopt%2Fnetstory%2Fsettings.py;fp=src%2Fopt%2Fnetstory%2Fsettings.py;h=55e37584d269361060c23b339b019e33f82cdea2;hb=1dbf7c39cb22d1fbda9fa10d73827e5a62b0f473;hp=0000000000000000000000000000000000000000;hpb=a8b29bf15bf53997624e96244746a5a40a5f17d9;p=netstory diff --git a/src/opt/netstory/settings.py b/src/opt/netstory/settings.py new file mode 100644 index 0000000..55e3758 --- /dev/null +++ b/src/opt/netstory/settings.py @@ -0,0 +1,13 @@ +# This file is part of NetStory. +# Author: Jere Malinen + + +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