Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mrvladus committed Oct 16, 2023
1 parent 8fe0b52 commit efb1ab9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def _check_url(self) -> None:
# For Nextcloud provider
if self.name == "Nextcloud":
# Add suffix if needed
if not GSettings.get("sync-url").endswith("/remote.php/dav/"):
if not "remote.php/dav" in GSettings.get("sync-url"):
self.url = f"{self.url}/remote.php/dav/"
GSettings.set("sync-url", "s", self.url)
else:
Expand Down

0 comments on commit efb1ab9

Please sign in to comment.