From d6208fb8f8f676588ac5efb03ab33e5aa8089324 Mon Sep 17 00:00:00 2001 From: IamClearlyJoking <33135013+IamClearlyJoking@users.noreply.github.com> Date: Tue, 25 May 2021 10:41:59 +0200 Subject: [PATCH] fix: use os.path.join in config to correctly format path (#4) --- pywalfox/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pywalfox/config.py b/pywalfox/config.py index 9443917..8384242 100644 --- a/pywalfox/config.py +++ b/pywalfox/config.py @@ -11,7 +11,7 @@ HOME_PATH = os.path.expanduser('~') XDG_CACHE_DIR = os.getenv('XDG_CACHE_HOME', os.path.join(HOME_PATH, '.cache')) -PYWAL_COLORS_PATH = os.path.join(XDG_CACHE_DIR, 'wal/colors.json') +PYWAL_COLORS_PATH = os.path.join(XDG_CACHE_DIR, os.path.join('wal', 'colors.json')) APP_PATH = os.path.dirname(os.path.abspath(__file__)) CSS_PATH = os.path.join(APP_PATH, 'assets/css')