mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-06-18 21:30:00 +10:00
kdk_handler: Fix accidental tuple return
This commit is contained in:
@@ -34,7 +34,7 @@ class kernel_debug_kit_handler:
|
|||||||
|
|
||||||
if results.status_code != 200:
|
if results.status_code != 200:
|
||||||
print(" - Could not fetch database")
|
print(" - Could not fetch database")
|
||||||
return None
|
return None, ""
|
||||||
|
|
||||||
results = results.json()
|
results = results.json()
|
||||||
|
|
||||||
@@ -83,7 +83,7 @@ class kernel_debug_kit_handler:
|
|||||||
|
|
||||||
if newest_build["date"] != "":
|
if newest_build["date"] != "":
|
||||||
print(f"- Closest match: {newest_build['version']} build {newest_build['build']}")
|
print(f"- Closest match: {newest_build['version']} build {newest_build['build']}")
|
||||||
return self.generate_kdk_link(newest_build["version"], newest_build["build"]), newest_build["build"]
|
return self.generate_kdk_link(newest_build["version"], newest_build["build"])
|
||||||
|
|
||||||
print(" - Could not find a match")
|
print(" - Could not find a match")
|
||||||
return None, ""
|
return None, ""
|
||||||
|
|||||||
Reference in New Issue
Block a user