summaryrefslogtreecommitdiff
path: root/examples/client/python/ensure-channel.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/client/python/ensure-channel.py')
-rwxr-xr-xexamples/client/python/ensure-channel.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/client/python/ensure-channel.py b/examples/client/python/ensure-channel.py
index 344b7dbd5..9e46239ff 100755
--- a/examples/client/python/ensure-channel.py
+++ b/examples/client/python/ensure-channel.py
@@ -1,9 +1,12 @@
#!/usr/bin/env python
import sys
+import gi
+
from gi.repository import GObject
GObject.threads_init()
+gi.require_version('TelepathyGLib', '0.12')
from gi.repository import TelepathyGLib
def usage():