Skip to content

Commit

Permalink
Fix appending slash to a the "qgis" folder
Browse files Browse the repository at this point in the history
  • Loading branch information
Gustry committed Oct 23, 2023
1 parent cd4e011 commit 920fa97
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lizmap/server_dav.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,10 @@ def dav_server(self) -> Optional[str]:
if not metadata:
# Module not enabled
return None
return self.url_slash(metadata.get('url')) + metadata.get('projects_path')
qgis_folder = self.url_slash(
self.url_slash(metadata.get('url'))
+ metadata.get('projects_path'))
return qgis_folder

return self._dav_server

Expand Down

0 comments on commit 920fa97

Please sign in to comment.