fixed problem with advancedsettings file

This commit is contained in:
Marcel van der Veldt 2015-03-29 00:30:13 +01:00
parent 8bea68b951
commit 4d9a9cf139
1 changed files with 1 additions and 1 deletions

View File

@ -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