Fix blank files sources
This commit is contained in:
parent
bb1a180a1b
commit
605472f983
|
@ -53,6 +53,9 @@ def sources():
|
||||||
|
|
||||||
files = xml.find('files')
|
files = xml.find('files')
|
||||||
|
|
||||||
|
if files is None:
|
||||||
|
files = etree.SubElement(xml, 'files')
|
||||||
|
|
||||||
for source in xml.findall('.//path'):
|
for source in xml.findall('.//path'):
|
||||||
if source.text == 'http://kodi.emby.media':
|
if source.text == 'http://kodi.emby.media':
|
||||||
break
|
break
|
||||||
|
|
Loading…
Reference in New Issue