Skip to content
Snippets Groups Projects
Commit 23276007 authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

import xmpp only when needed in helpers.py so decode_string is loaded before. see #4764

parent 5026aa96
No related branches found
No related tags found
No related merge requests found
......@@ -44,7 +44,6 @@
from i18n import Q_
from i18n import ngettext
import xmpp
try:
import winsound # windows-only built-in module for playing wav
......@@ -1347,6 +1346,7 @@ def prepare_and_validate_gpg_keyID(account, jid, keyID):
return keyID
def update_optional_features(account = None):
import xmpp
if account:
accounts = [account]
else:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment