diff options
author | cedricbonhomme <devnull@localhost> | 2010-08-25 07:00:56 +0200 |
---|---|---|
committer | cedricbonhomme <devnull@localhost> | 2010-08-25 07:00:56 +0200 |
commit | 6da0beb5558d02803d376f8113896ffa908300d0 (patch) | |
tree | 8f807a4ac749c3911cb7c603195ecb54992b4bf4 /utils.py | |
parent | Code improvement. 'pylint --max-line-length=200 pyAggr3g470r.py = 8.41/10' (diff) | |
download | newspipe-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-x | utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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') |