From b027361586f776292260afff871c85b05359cf3d Mon Sep 17 00:00:00 2001 From: huker667 Date: Fri, 22 May 2026 19:34:48 +0300 Subject: first commit --- gconfig.py | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 gconfig.py (limited to 'gconfig.py') 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() -- cgit v1.3.1