aboutsummaryrefslogtreecommitdiff
path: root/utils.py
diff options
context:
space:
mode:
authorcedricbonhomme <devnull@localhost>2010-08-25 07:00:56 +0200
committercedricbonhomme <devnull@localhost>2010-08-25 07:00:56 +0200
commit6da0beb5558d02803d376f8113896ffa908300d0 (patch)
tree8f807a4ac749c3911cb7c603195ecb54992b4bf4 /utils.py
parentCode improvement. 'pylint --max-line-length=200 pyAggr3g470r.py = 8.41/10' (diff)
downloadnewspipe-6da0beb5558d02803d376f8113896ffa908300d0.tar.gz
newspipe-6da0beb5558d02803d376f8113896ffa908300d0.tar.bz2
newspipe-6da0beb5558d02803d376f8113896ffa908300d0.zip
Configuration file improvement (no need to set the path in the configuration file).
Diffstat (limited to 'utils.py')
-rwxr-xr-xutils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils.py b/utils.py
index 7a9d7f81..9ddc9a6b 100755
--- a/utils.py
+++ b/utils.py
@@ -43,7 +43,7 @@ import os
import ConfigParser
config = ConfigParser.RawConfigParser()
config.read("./cfg/pyAggr3g470r.cfg")
-path = config.get('global','path')
+path = os.path.abspath(".")
sqlite_base = os.path.abspath(config.get('global', 'sqlitebase'))
mail_from = config.get('mail','mail_from')
mail_to = config.get('mail','mail_to')
bgstack15