mirror of
https://github.com/outbackdingo/OpCore-Simplify.git
synced 2026-01-27 10:19:49 +00:00
Remove the unnecessary condition
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user