Fix xml debug logs
don’t ask, don’t tell
This commit is contained in:
parent
de953c9d55
commit
3ea2ea338f
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,6 @@ from configparser import RawConfigParser, NoOptionError, NoSectionError
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
from shutil import copy2
|
from shutil import copy2
|
||||||
from typing import Callable, Dict, List, Optional, Union, Tuple
|
from typing import Callable, Dict, List, Optional, Union, Tuple
|
||||||
from slixmpp import JID
|
|
||||||
|
|
||||||
from poezio.args import parse_args
|
from poezio.args import parse_args
|
||||||
from poezio import xdg
|
from poezio import xdg
|
||||||
|
@ -225,6 +224,7 @@ class Config(RawConfigParser):
|
||||||
in the section, we search for the global option if fallback is
|
in the section, we search for the global option if fallback is
|
||||||
True. And we return `default` as a fallback as a last resort.
|
True. And we return `default` as a fallback as a last resort.
|
||||||
"""
|
"""
|
||||||
|
from slixmpp import JID
|
||||||
if isinstance(tabname, JID):
|
if isinstance(tabname, JID):
|
||||||
tabname = tabname.full
|
tabname = tabname.full
|
||||||
if self.default and (not default) and fallback:
|
if self.default and (not default) and fallback:
|
||||||
|
|
Loading…
Reference in a new issue