fixed error code

This commit is contained in:
Riddle
2022-06-19 18:00:32 -04:00
committed by Alex
parent 6f6c663b43
commit 869de31315

View File

@@ -14,4 +14,4 @@ def find_unique_or_set_base(unique_or_set_name) -> tuple[str, str]:
for set in sets:
if set.lower() == unique_or_set_name:
return key, "set"
return "",""
raise NipSyntaxError("NIP_0x23", f"'{unique_or_set_name}' is not a valid unique or set")