From 30e40dc30b6ac36f21156f68ab2489c3ad642f24 Mon Sep 17 00:00:00 2001 From: Hoang Hong Quan Date: Sun, 28 Jul 2024 06:12:06 +0700 Subject: [PATCH] Remove the unnecessary condition --- updater.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/updater.py b/updater.py index ad842ee..4fcdb9e 100644 --- a/updater.py +++ b/updater.py @@ -42,8 +42,7 @@ class Updater: for file in files: source = os.path.join(root, file) destination = source.replace(target_dir, os.path.dirname(os.path.realpath(__file__))) - if "OCK_Files" not in destination and "updater" not in destination: - shutil.move(source, destination) + shutil.move(source, destination) shutil.rmtree(self.temporary_dir) def run_update(self):