summaryrefslogtreecommitdiff
path: root/voctocore
diff options
context:
space:
mode:
authorMaZderMind <git@mazdermind.de>2015-05-20 10:56:20 +0200
committerMaZderMind <git@mazdermind.de>2015-05-20 10:56:20 +0200
commit464cd45530a03cce98594a3f5867fa7972bec787 (patch)
tree71952da423568a64b9f8a219d154f40ae19c4840 /voctocore
parent9ca65b1c24fd1391c77bcfdb4a081606cf6fcf3f (diff)
locate default config-file in source directory
Diffstat (limited to 'voctocore')
-rw-r--r--voctocore/lib/config.py2
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'),
]