diff --git a/Config.toml b/Config.toml index 22e4afe..8a3e3d9 100644 --- a/Config.toml +++ b/Config.toml @@ -4,7 +4,7 @@ SilentMode = 0 CheckInput = 3 DotFiles = 0 Logging = 1 -WriteDirConf = 1 +OverwriteDirConf = 0 [Variables] NextNum = "!" diff --git a/SaraSortd.py b/SaraSortd.py index 83a7b93..c1329a8 100644 --- a/SaraSortd.py +++ b/SaraSortd.py @@ -195,7 +195,7 @@ def Dir(Path, Output = True, CopyConf = True): if (CopyConf): NewDirConf = f"{Parse(String = ConfNames["DirConfName"], Path = ConfPath, Parent = ParentName)}.toml" - if (Conf["WriteDirConf"] == 1 or not os.path.exists(os.path.join(f"{Path}/{NewDirConf}"))): + if (Conf["OverwriteDirConf"] == 1 or not os.path.exists(os.path.join(f"{Path}/{NewDirConf}"))): Clone("DirConfig.toml", Path, NewDirConf) UpdateConf(f"{Path}/{Parse(String = ConfNames["DirConfName"], Path = ConfPath, Parent = ParentName)}.toml", "ParentDir", ParentName) UpdateConf(f"{Path}/{Parse(String = ConfNames["DirConfName"], Path = ConfPath, Parent = ParentName)}.toml", "Title", f"{ParentName} Config")