summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 284bbb4..0b1499d 100755
--- a/contrib/caldav/calcurse-caldav.py
+++ b/contrib/caldav/calcurse-caldav.py
@@ -332,7 +332,7 @@ except FileNotFoundError as e:
die('Configuration file not found: %s' % (configfn))
hostname = config.get('General', 'HostName')
-path = config.get('General', 'Path').rstrip('/') + '/'
+path = '/' + config.get('General', 'Path').strip('/') + '/'
if config.has_option('General', 'InsecureSSL'):
insecure_ssl = config.getboolean('General', 'InsecureSSL')