Skip to content

Commit

Permalink
Fix type error in get_name_ea_simple
Browse files Browse the repository at this point in the history
  • Loading branch information
0xKira authored Apr 20, 2020
1 parent c6b4f86 commit dce19cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion LazyIDA.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def parse_location(loc):
loc = int(loc, 16)
except ValueError:
try:
loc = idc.get_name_ea_simple(loc)
loc = idc.get_name_ea_simple(loc.encode())
except:
return idaapi.BADADDR
return loc
Expand Down

0 comments on commit dce19cf

Please sign in to comment.