mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-24 09:46:11 +00:00
fixed problem with advancedsettings file
This commit is contained in:
parent
8bea68b951
commit
4d9a9cf139
1 changed files with 1 additions and 1 deletions
|
@ -182,7 +182,7 @@ def KodiAdvancedSettingsCheck():
|
|||
root = tree.getroot()
|
||||
video = root.find("videolibrary")
|
||||
if video == None:
|
||||
video = SubElement(sources, "videolibrary")
|
||||
video = SubElement(root, "videolibrary")
|
||||
# add the settings
|
||||
if video.find("importwatchedstate") == None:
|
||||
writeNeeded = True
|
||||
|
|
Loading…
Reference in a new issue