aboutsummaryrefslogtreecommitdiff
path: root/gconfig.py
diff options
context:
space:
mode:
Diffstat (limited to 'gconfig.py')
-rw-r--r--gconfig.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/gconfig.py b/gconfig.py
new file mode 100644
index 0000000..489f830
--- /dev/null
+++ b/gconfig.py
@@ -0,0 +1,11 @@
+import os
+import shutil
+
+
+def copy_config(def_config_path="config_def.py", usr_config_path="config.py"):
+ if not os.path.exists(usr_config_path):
+ if os.path.exists(def_config_path):
+ shutil.copy(def_config_path, usr_config_path)
+
+
+copy_config()