summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2019-08-21 16:18:23 +0200
committermathieui <mathieui@mathieui.net>2019-08-21 16:18:23 +0200
commit3ea2ea338f321c44b6db7ed932f6f6eb3de63b9a (patch)
tree334ce61b6bca143f8257678578423c1bed2dfcf3
parentde953c9d55e2c5ffbe8870d95510abf9b8614896 (diff)
downloadpoezio-3ea2ea338f321c44b6db7ed932f6f6eb3de63b9a.tar.gz
poezio-3ea2ea338f321c44b6db7ed932f6f6eb3de63b9a.tar.bz2
poezio-3ea2ea338f321c44b6db7ed932f6f6eb3de63b9a.tar.xz
poezio-3ea2ea338f321c44b6db7ed932f6f6eb3de63b9a.zip
Fix xml debug logs
don’t ask, don’t tell
-rw-r--r--poezio/config.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/poezio/config.py b/poezio/config.py
index acd5f293..cac2e858 100644
--- a/poezio/config.py
+++ b/poezio/config.py
@@ -20,7 +20,6 @@ from configparser import RawConfigParser, NoOptionError, NoSectionError
from pathlib import Path
from shutil import copy2
from typing import Callable, Dict, List, Optional, Union, Tuple
-from slixmpp import JID
from poezio.args import parse_args
from poezio import xdg
@@ -225,6 +224,7 @@ class Config(RawConfigParser):
in the section, we search for the global option if fallback is
True. And we return `default` as a fallback as a last resort.
"""
+ from slixmpp import JID
if isinstance(tabname, JID):
tabname = tabname.full
if self.default and (not default) and fallback: