diff options
| author | huker667 <huker@tuta.io> | 2026-05-22 19:34:48 +0300 |
|---|---|---|
| committer | huker667 <huker@tuta.io> | 2026-05-22 19:34:48 +0300 |
| commit | b027361586f776292260afff871c85b05359cf3d (patch) | |
| tree | cd6b18db73c162292a903090b85a0f19e1fbf743 /gconfig.py | |
| download | uzbekgpt-b027361586f776292260afff871c85b05359cf3d.tar.gz uzbekgpt-b027361586f776292260afff871c85b05359cf3d.tar.bz2 uzbekgpt-b027361586f776292260afff871c85b05359cf3d.zip | |
first commit
Diffstat (limited to 'gconfig.py')
| -rw-r--r-- | gconfig.py | 11 |
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() |