Skip to content

Commit

Permalink
Use # instead of // for comment
Browse files Browse the repository at this point in the history
  • Loading branch information
edouardbruelhart committed Nov 18, 2024
1 parent 7ec1ec0 commit dadeab5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qfieldsync/core/cloud_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ def set_url(self, server_url: str) -> None:
# Assume the URL has a scheme or at least starts with leading //.
p = urlparse(server_url)

// QFieldSync will automatically append `/api/v1` to the path, so prevent double append like `/api/v1/api/v1`.
# QFieldSync will automatically append `/api/v1` to the path, so prevent double append like `/api/v1/api/v1`.
if p.path.startswith("/api/v1"):
self.url = f"{p.scheme or 'https'}://{p.netloc}/"
else:
Expand Down

0 comments on commit dadeab5

Please sign in to comment.