summaryrefslogtreecommitdiff
path: root/voctogui
diff options
context:
space:
mode:
authorMaZderMind <git@mazdermind.de>2016-04-27 22:56:46 +0200
committerMaZderMind <git@mazdermind.de>2016-04-27 22:56:46 +0200
commitdea4babbc4442b91e49487b11e03aef9479c2438 (patch)
treef66ba916e3c1e21ecbe9e93b8afacc2c76e63a12 /voctogui
parent38b557574fefa3b2ec16e3ad41ec5dcf39266ba1 (diff)
also allow config files in a folder under /etc
Diffstat (limited to 'voctogui')
-rw-r--r--voctogui/README.md1
-rw-r--r--voctogui/lib/config.py1
2 files changed, 2 insertions, 0 deletions
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:
- `<install-dir>/default-config.ini`
- `<install-dir>/config.ini`
+ - `/etc/voctomix/voctogui.ini`
- `/etc/voctogui.ini`
- `<homedir>/.voctogui.ini`
- `<File specified on Command-Line via --ini-file>`
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'),
]