aboutsummaryrefslogtreecommitdiff
path: root/examples/modem-watcher-python/modem-watcher-python
diff options
context:
space:
mode:
Diffstat (limited to 'examples/modem-watcher-python/modem-watcher-python')
-rwxr-xr-xexamples/modem-watcher-python/modem-watcher-python6
1 files changed, 4 insertions, 2 deletions
diff --git a/examples/modem-watcher-python/modem-watcher-python b/examples/modem-watcher-python/modem-watcher-python
index 40998588..4884beef 100755
--- a/examples/modem-watcher-python/modem-watcher-python
+++ b/examples/modem-watcher-python/modem-watcher-python
@@ -18,10 +18,12 @@
# Copyright (C) 2014 Aleksander Morgado <aleksander@aleksander.es>
#
-import sys, signal
-import ModemWatcher
+import signal
+
from gi.repository import GLib
+import ModemWatcher
+
main_loop = None
watcher = None