Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--JokeMachineActivity.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/JokeMachineActivity.py b/JokeMachineActivity.py
index b4538a2..f3feb34 100644
--- a/JokeMachineActivity.py
+++ b/JokeMachineActivity.py
@@ -18,6 +18,10 @@
# own creations we would love to hear from you at info@WorldWideWorkshop.org !
#
+# init gthreads before using abiword
+import gobject
+gobject.threads_init()
+
import os
import logging
import gtk