summaryrefslogtreecommitdiff
path: root/poezio/core/completions.py
diff options
context:
space:
mode:
authorMaxime “pep” Buquet <pep@bouah.net>2022-08-21 22:54:52 +0200
committerMaxime “pep” Buquet <pep@bouah.net>2022-08-23 11:44:11 +0200
commit62481f13295ad6b96648e608d4d93029864c8eef (patch)
treecc045510333cd278c9bfe58d1b8c17292a5c970f /poezio/core/completions.py
parent10cc67e6c78ca37508ba30cba42baa68c8fff5a3 (diff)
downloadpoezio-roezio.tar.gz
poezio-roezio.tar.bz2
poezio-roezio.tar.xz
poezio-roezio.zip
roezio: migrate poezio/xdg.pyroezio
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
Diffstat (limited to 'poezio/core/completions.py')
-rw-r--r--poezio/core/completions.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/poezio/core/completions.py b/poezio/core/completions.py
index 084910a2..1cb934c0 100644
--- a/poezio/core/completions.py
+++ b/poezio/core/completions.py
@@ -11,7 +11,7 @@ from slixmpp import JID, InvalidJID
from poezio import common
from poezio import tabs
-from poezio import xdg
+from poezio.libpoezio import XDG
from poezio.config import config
from poezio.roster import roster
@@ -82,7 +82,7 @@ class CompletionCore:
""" Completion for /theme"""
themes_dir = config.getstr('themes_dir')
themes_dir = Path(themes_dir).expanduser(
- ) if themes_dir else xdg.DATA_HOME / 'themes'
+ ) if themes_dir else XDG.data_dir / 'themes'
try:
theme_files = [
name.stem for name in themes_dir.iterdir()