summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tools/ambctl.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/ambctl.py b/tools/ambctl.py
index cb091a73..8cf0dfe2 100644
--- a/tools/ambctl.py
+++ b/tools/ambctl.py
@@ -210,7 +210,7 @@ def processCommand(command, commandArgs, noMain=True):
pass
if not noMain == True:
try:
- main_loop = gobject.MainLoop(None, False)
+ main_loop = GObject.MainLoop()
main_loop.run()
except KeyboardInterrupt:
return 1