From 6da0beb5558d02803d376f8113896ffa908300d0 Mon Sep 17 00:00:00 2001 From: cedricbonhomme Date: Wed, 25 Aug 2010 07:00:56 +0200 Subject: Configuration file improvement (no need to set the path in the configuration file). --- utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utils.py') 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') -- cgit