From 406f7757eded7229479dc0c701f906f2d880f344 Mon Sep 17 00:00:00 2001 From: peter Date: Thu, 20 Jun 2024 01:41:50 +0100 Subject: [PATCH] Delete debug dir stuff --- clashroyalebuildabot/updater.py | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) 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):