summaryrefslogtreecommitdiff
path: root/voctocore/lib/config.py
diff options
context:
space:
mode:
Diffstat (limited to 'voctocore/lib/config.py')
-rw-r--r--voctocore/lib/config.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/voctocore/lib/config.py b/voctocore/lib/config.py
new file mode 100644
index 0000000..b4c64aa
--- /dev/null
+++ b/voctocore/lib/config.py
@@ -0,0 +1,9 @@
+import os.path
+from configparser import SafeConfigParser
+
+Config = SafeConfigParser()
+Config.read([
+ 'default-config.ini',
+ '/etc/voctomix.ini',
+ os.path.expanduser('~/.voctomix.ini')
+])