Skip to content

Commit

Permalink
Merge pull request #193 from sh-andriy/feature/ENG-6569
Browse files Browse the repository at this point in the history
[ENG-6569] | fixed owncloud subfolder issues
  • Loading branch information
adlius authored Dec 27, 2024
2 parents eb06852 + c8c978b commit 43d6cbb
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions addon_imps/storage/owncloud.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,12 +145,15 @@ async def build_wb_config(self) -> dict:
root_host = f"{parsed_url.scheme}://{parsed_url.netloc}"
folder_path = ""

wb_config = {
if self.config.connected_root_id:
_, subpath = _parse_item_id(self.config.connected_root_id)
folder_path = subpath.strip("/")

return {
"folder": folder_path,
"host": root_host,
"verify_ssl": True,
}
return wb_config

def _parse_response_element(
self, response_element: ET.Element, path: str
Expand Down

0 comments on commit 43d6cbb

Please sign in to comment.