summaryrefslogtreecommitdiff
path: root/poezio/poezio.py
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2016-10-05 20:20:46 +0200
committermathieui <mathieui@mathieui.net>2016-10-05 20:20:46 +0200
commit3c9eac5dc99eb809584d4877e1eea603c97be3da (patch)
tree58b91b290986bc751711218e5c7ff776b0deb4e4 /poezio/poezio.py
parenteacc5a6fb188af6b7027064e4bc34212729334dd (diff)
downloadpoezio-3c9eac5dc99eb809584d4877e1eea603c97be3da.tar.gz
poezio-3c9eac5dc99eb809584d4877e1eea603c97be3da.tar.bz2
poezio-3c9eac5dc99eb809584d4877e1eea603c97be3da.tar.xz
poezio-3c9eac5dc99eb809584d4877e1eea603c97be3da.zip
Add monkeypatching hack on the event loop
Previously inside slixmpp, it’s cleaner to do it only in poezio.
Diffstat (limited to 'poezio/poezio.py')
-rw-r--r--poezio/poezio.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/poezio/poezio.py b/poezio/poezio.py
index 55c1afea..784f0553 100644
--- a/poezio/poezio.py
+++ b/poezio/poezio.py
@@ -61,6 +61,9 @@ def main():
config.check_config()
sys.exit(0)
+ from poezio.asyncio import monkey_patch_asyncio_slixmpp
+ monkey_patch_asyncio_slixmpp()
+
from poezio import theming
theming.update_themes_dir()