Fixed CalDAV url (again)

This commit is contained in:
Andreas Schneider 2018-04-01 20:24:09 +02:00
parent f71ec34f48
commit 6466653975
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ func LoadSettings() Settings {
panic(err)
}
if settings.CalDAV.URL != "" && strings.HasSuffix(settings.CalDAV.URL, "/") {
if settings.CalDAV.URL != "" && !strings.HasSuffix(settings.CalDAV.URL, "/") {
settings.CalDAV.URL += "/"
}