GP-0: #@^%@ python indentation

This commit is contained in:
d-millar
2026-02-27 01:18:29 +00:00
parent 695060e911
commit 1ec649869c

View File

@@ -272,10 +272,10 @@ def ghidra_trace_create(start_trace: bool = True) -> None:
elif kind == "coredump": elif kind == "coredump":
img = os.getenv('OPT_TARGET_IMG') img = os.getenv('OPT_TARGET_IMG')
if img is None: if img is None:
return return
prog.set_core_dump(img) prog.set_core_dump(img)
if '/' in img: if '/' in img:
img = img[img.rindex('/')+1:] img = img[img.rindex('/')+1:]
else: else:
pid = os.getenv('OPT_TARGET_PID') pid = os.getenv('OPT_TARGET_PID')
if pid is not None: if pid is not None: