Update import-to-ida.py

Updated with f string for enhanced readability.
This commit is contained in:
AG
2023-03-10 01:36:17 +05:30
committed by GitHub
parent 01c4ac822c
commit 50935372ca

View File

@@ -101,9 +101,9 @@ def main():
rows = sorted(rows)
for ns, name, va in rows:
if ns:
cmt = "%s (%s)" % (name, ns)
cmt = f"{name} ({ns})"
else:
cmt = "%s" % (name,)
cmt = f"{name}"
logger.info("0x%x: %s", va, cmt)
try: