diff options
author | MaZderMind <git@mazdermind.de> | 2015-05-20 10:56:20 +0200 |
---|---|---|
committer | MaZderMind <git@mazdermind.de> | 2015-05-20 10:56:20 +0200 |
commit | 464cd45530a03cce98594a3f5867fa7972bec787 (patch) | |
tree | 71952da423568a64b9f8a219d154f40ae19c4840 /voctocore | |
parent | 9ca65b1c24fd1391c77bcfdb4a081606cf6fcf3f (diff) |
locate default config-file in source directory
Diffstat (limited to 'voctocore')
-rw-r--r-- | voctocore/lib/config.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/voctocore/lib/config.py b/voctocore/lib/config.py index 9201f3e..775ea5c 100644 --- a/voctocore/lib/config.py +++ b/voctocore/lib/config.py @@ -11,7 +11,7 @@ def getlist(self, section, option): SafeConfigParser.getlist = getlist files = [ - 'default-config.ini', + os.path.join(os.path.dirname(os.path.realpath(__file__)), '../default-config.ini'), '/etc/voctomix.ini', os.path.expanduser('~/.voctomix.ini'), ] |