From 464cd45530a03cce98594a3f5867fa7972bec787 Mon Sep 17 00:00:00 2001 From: MaZderMind Date: Wed, 20 May 2015 10:56:20 +0200 Subject: locate default config-file in source directory --- voctocore/lib/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'voctocore') 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'), ] -- cgit v1.2.3