From dea4babbc4442b91e49487b11e03aef9479c2438 Mon Sep 17 00:00:00 2001 From: MaZderMind Date: Wed, 27 Apr 2016 22:56:46 +0200 Subject: also allow config files in a folder under /etc --- voctogui/README.md | 1 + voctogui/lib/config.py | 1 + 2 files changed, 2 insertions(+) (limited to 'voctogui') diff --git a/voctogui/README.md b/voctogui/README.md index 081e9d8..8dcf09e 100644 --- a/voctogui/README.md +++ b/voctogui/README.md @@ -29,6 +29,7 @@ Click twice on the Selection Combobox, the select your Source within 5 Seconds ( On Startup the GUI reads the following Configuration-Files: - `/default-config.ini` - `/config.ini` + - `/etc/voctomix/voctogui.ini` - `/etc/voctogui.ini` - `/.voctogui.ini` - `` diff --git a/voctogui/lib/config.py b/voctogui/lib/config.py index 4120092..d4630bf 100644 --- a/voctogui/lib/config.py +++ b/voctogui/lib/config.py @@ -25,6 +25,7 @@ SafeConfigParser.fetchServerConfig = fetchServerConfig files = [ os.path.join(os.path.dirname(os.path.realpath(__file__)), '../default-config.ini'), os.path.join(os.path.dirname(os.path.realpath(__file__)), '../config.ini'), + '/etc/voctomix/voctogui.ini', '/etc/voctogui.ini', os.path.expanduser('~/.voctogui.ini'), ] -- cgit v1.2.3