Fix: replaced a magic constant with a constant

This commit is contained in:
Harding
2023-05-19 22:50:43 +02:00
parent caeafef297
commit 11cff555b8
+1 -1
View File
@@ -16,7 +16,7 @@ def main():
if not ida_dbg.is_debugger_on():
print("Please run the process first!")
return
if ida_dbg.get_process_state() != -1:
if ida_dbg.get_process_state() != ida_dbg.DSTATE_SUSP:
print("Please suspend the debugger first!")
return