wx_gui: Handle spacing

This commit is contained in:
Mykola Grymalyuk
2024-09-03 20:33:38 -06:00
parent 4e4157c125
commit b74001a6e5
2 changed files with 2 additions and 2 deletions

View File

@@ -321,7 +321,7 @@ class SysPatchDisplayFrame(wx.Frame):
if (not patch.startswith("Settings") and not patch.startswith("Validation") and patches[patch] is True):
# Patches should share the same name as the plist key
# See sys_patch/patchsets/base.py for more info
if patch.split(":")[1] not in oclp_plist_data:
if patch.split(": ")[1] not in oclp_plist_data:
logging.info(f"- Patch {patch} not installed")
return True

View File

@@ -460,7 +460,7 @@ class SysPatchStartFrame(wx.Frame):
if (not patch.startswith("Settings") and not patch.startswith("Validation") and patches[patch] is True):
# Patches should share the same name as the plist key
# See sys_patch/patchsets/base.py for more info
if patch.split(":")[1] not in oclp_plist_data:
if patch.split(": ")[1] not in oclp_plist_data:
logging.info(f"- Patch {patch} not installed")
return True