fix: check valid sigs better

This commit is contained in:
Anna 2022-01-04 03:22:24 -05:00
parent b0e6851eee
commit 1b85e754cb
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ import ida_bytes
SIG_REGEX = re.compile(r'"([A-Fa-f0-9\? ]+)"')
def is_valid_sig(sig):
sig = sig.strip()
sig = sig.strip().replace(' ', '')
if len(sig) == 0:
return False