Revert "Fix Aggiornamento Libreria"

This reverts commit 1874afb3b8.
This commit is contained in:
Alhaziel
2020-01-27 19:24:56 +01:00
parent af97021e1a
commit a42e88b0c1
2 changed files with 4 additions and 2 deletions

View File

@@ -487,7 +487,9 @@ def update(folder_content=config.get_setting("folder_tvshows"), folder=""):
if videolibrarypath.startswith("special:"):
if videolibrarypath.endswith('/'):
videolibrarypath = videolibrarypath[:-1]
update_path = filetools.join(videolibrarypath, folder_content, folder) + "/"
update_path = videolibrarypath + "/" + folder_content + "/" + folder + "/"
else:
update_path = filetools.join(videolibrarypath, folder_content, folder) + "/"
if not update_path.startswith("smb://"):
payload["params"] = {"directory": update_path}