kdk_handler.py: Remove redundant str comparison

This commit is contained in:
Mykola Grymalyuk
2023-03-28 14:17:19 -06:00
parent d153747b58
commit 2c0d67ce61

View File

@@ -488,8 +488,6 @@ class KernelDebugKitObject:
if kdk_folder.name.endswith(".kdk") or kdk_folder.name.endswith(".pkg"):
should_remove = True
for build in exclude_builds:
if build == "":
continue
if kdk_folder.name.endswith(f"_{build}.kdk") or kdk_folder.name.endswith(f"_{build}.pkg"):
should_remove = False
break