summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNitroretro <nitroretro@protonmail.com>2020-02-04 16:17:59 +0200
committerLukas Fleischer <lfleischer@calcurse.org>2020-02-04 22:46:19 +0100
commitada0d98bde810d356d8272b476bc080fa37104f5 (patch)
tree3d65905b16d2faec9fd7e3b144e821b97cf904e4
parent5ad76df5fee9ecef60e2d16e4641b19383c73941 (diff)
downloadcalcurse-ada0d98bde810d356d8272b476bc080fa37104f5.tar.gz
calcurse-ada0d98bde810d356d8272b476bc080fa37104f5.zip
caldav: Fix XDG_CONFIG_HOME not defaulting to ~/.config
Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
-rwxr-xr-xcontrib/caldav/calcurse-caldav.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/caldav/calcurse-caldav.py b/contrib/caldav/calcurse-caldav.py
index ec8f8fb..beea376 100755
--- a/contrib/caldav/calcurse-caldav.py
+++ b/contrib/caldav/calcurse-caldav.py
@@ -527,7 +527,7 @@ if os.path.isdir(os.path.expanduser("~/.calcurse")):
oauth_file = os.path.expanduser("~/.calcurse/caldav/oauth2_cred")
else:
calcurse_data = os.getenv("XDG_DATA_HOME", os.path.expanduser("~/.local/share")) + "/calcurse"
- calcurse_config = os.getenv("XDG_CONFIG_HOME", os.path.expanduser("~/.local/share")) + "/calcurse"
+ calcurse_config = os.getenv("XDG_CONFIG_HOME", os.path.expanduser("~/.config")) + "/calcurse"
configfn = os.path.expanduser(calcurse_config + "/caldav/config")
lockfn = os.path.expanduser(calcurse_data + "/caldav/lock")