summaryrefslogtreecommitdiff
path: root/portato/plugins
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--portato/plugins/dbus_init.py10
1 files changed, 8 insertions, 2 deletions
diff --git a/portato/plugins/dbus_init.py b/portato/plugins/dbus_init.py
index 851562c..653af31 100644
--- a/portato/plugins/dbus_init.py
+++ b/portato/plugins/dbus_init.py
@@ -1,4 +1,10 @@
-from dbus.mainloop.glib import threads_init
+try:
+ from dbus.mainloop.glib import threads_init
+except ImportError:
+ threads_init = None
+
+from portato.constants import USE_CATAPULT
def dbus_init (*args):
- threads_init()
+ if USE_CATAPULT and threads_init is not None:
+ threads_init()
>4-12/+15 2020-05-03--version flagRené 'Necoro' Neumann1-0/+6 2020-05-03Rename from 'client' to 'cl'René 'Necoro' Neumann5-26/+26 2020-05-03Use UIDPLUS Imap extensionRené 'Necoro' Neumann4-11/+33 2020-05-03Fix update in IMAPRené 'Necoro' Neumann1-2/+12 2020-05-03Update support for IMAPRené 'Necoro' Neumann5-17/+205 2020-05-03Option "reupload-if-updated"René 'Necoro' Neumann2-0/+4 2020-05-03Fix typoRené 'Necoro' Neumann1-2/+2 2020-05-02Use uuid library directly and encode to base64.René 'Necoro' Neumann6-10/+16 2020-05-02RestructureRené 'Necoro' Neumann8-95/+111 2020-05-02WIP: Message-IdsRené 'Necoro' Neumann8-5/+40 2020-05-02Typo and mention config example in READMERené 'Necoro' Neumann2-1/+3