mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-04-14 12:48:18 +10:00
kdk_handler.py: Remove redundant str comparison
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user