From d02709ce9ddb89f484bba8eaef7b06427b00a124 Mon Sep 17 00:00:00 2001 From: raphael60650 Date: Thu, 17 Jun 2021 23:30:59 +0200 Subject: [PATCH] removed a useless variable --- source/install_mod.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/source/install_mod.py b/source/install_mod.py index c1a02ad..3e5d33a 100644 --- a/source/install_mod.py +++ b/source/install_mod.py @@ -22,8 +22,7 @@ def install_mod(self): def count_rf(path): nonlocal max_step max_step += 1 - extension = get_extension(path) - if extension == "szs": + if get_extension(path) == "szs": if not (os.path.realpath(path) in extracted_file): extracted_file.append(os.path.realpath(path)) max_step += 1