diff --git a/clashroyalebuildabot/updater.py b/clashroyalebuildabot/updater.py index f8042d5..77500f2 100644 --- a/clashroyalebuildabot/updater.py +++ b/clashroyalebuildabot/updater.py @@ -57,14 +57,7 @@ def _replace_old_version(self, commit_sha): ) for item in os.listdir(self.EXTRACT_PATH): item_path = os.path.join(self.EXTRACT_PATH, item) - if item in { - new_folder_name, - DEBUG_DIR, - os.path.join(DEBUG_DIR, "bot.log"), - os.path.join(DEBUG_DIR, "screenshots"), - os.path.join(DEBUG_DIR, "labels"), - ".git", - }: + if item in {new_folder_name, ".git"}: continue if os.path.isdir(item_path):