diff --git a/Gmeek.py b/Gmeek.py index 57a7608..b05f298 100644 --- a/Gmeek.py +++ b/Gmeek.py @@ -54,8 +54,12 @@ class GMEEK(): if os.path.exists(self.root_dir): shutil.rmtree(self.root_dir) + if os.path.exists("copy/"): + shutil.copytree("copy/",self.root_dir) + else: + os.mkdir(self.root_dir) + os.mkdir(self.backup_dir) - os.mkdir(self.root_dir) os.mkdir(self.post_dir) def defaultConfig(self):