From 4d9a9cf139a1d5ad9601c4ebae9cfef839349864 Mon Sep 17 00:00:00 2001 From: Marcel van der Veldt Date: Sun, 29 Mar 2015 00:30:13 +0100 Subject: [PATCH] fixed problem with advancedsettings file --- resources/lib/Utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/lib/Utils.py b/resources/lib/Utils.py index 6fd1367d..86447c0a 100644 --- a/resources/lib/Utils.py +++ b/resources/lib/Utils.py @@ -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