diff --git a/Gmeek.py b/Gmeek.py index 4518db2..7175bfa 100644 --- a/Gmeek.py +++ b/Gmeek.py @@ -52,10 +52,6 @@ class GMEEK(): self.defaultConfig() def cleanFile(self): - content_root = self.repo.get_contents(self.root_dir,ref="main") - self.repo.delete_file(content_root.path, "Delete docs folder",content_root.sha,branch="main") - content_backup = self.repo.get_contents(self.backup_dir,ref="main").sha - self.repo.delete_file(content_backup.path, "Delete backup folder",content_backup.sha,branch="main") if os.path.exists(self.backup_dir): shutil.rmtree(self.backup_dir)