Update ida-rpc.py

This commit is contained in:
lain
2024-08-17 06:45:48 +02:00
committed by GitHub
parent 3e478df322
commit d740445cf2

View File

@@ -104,7 +104,6 @@ class DiscordRPCPlugin(ida_idaapi.plugin_t):
large_text="IDA Pro 9.0",
start=self.start_time
)
print(f"Updated presence: {file_name} - {func_name}") # Debug print
self.last_update_time = time.time()
except Exception as e:
print(f"Error updating presence: {str(e)}")
@@ -119,4 +118,4 @@ class IDAViewHook(ida_kernwin.UI_Hooks):
return 0
def PLUGIN_ENTRY():
return DiscordRPCPlugin()
return DiscordRPCPlugin()