mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-25 02:06:09 +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()
|
root = tree.getroot()
|
||||||
video = root.find("videolibrary")
|
video = root.find("videolibrary")
|
||||||
if video == None:
|
if video == None:
|
||||||
video = SubElement(sources, "videolibrary")
|
video = SubElement(root, "videolibrary")
|
||||||
# add the settings
|
# add the settings
|
||||||
if video.find("importwatchedstate") == None:
|
if video.find("importwatchedstate") == None:
|
||||||
writeNeeded = True
|
writeNeeded = True
|
||||||
|
|
Loading…
Reference in a new issue