From 3ea2ea338f321c44b6db7ed932f6f6eb3de63b9a Mon Sep 17 00:00:00 2001 From: mathieui Date: Wed, 21 Aug 2019 16:18:23 +0200 Subject: [PATCH] Fix xml debug logs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit don’t ask, don’t tell --- poezio/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: