diff options
author | Nitroretro <nitroretro@protonmail.com> | 2020-02-04 16:17:59 +0200 |
---|---|---|
committer | Lukas Fleischer <lfleischer@calcurse.org> | 2020-02-04 22:46:19 +0100 |
commit | ada0d98bde810d356d8272b476bc080fa37104f5 (patch) | |
tree | 3d65905b16d2faec9fd7e3b144e821b97cf904e4 | |
parent | 5ad76df5fee9ecef60e2d16e4641b19383c73941 (diff) | |
download | calcurse-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-x | contrib/caldav/calcurse-caldav.py | 2 |
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") |