Fix blank files sources

This commit is contained in:
angelblue05 2018-09-17 00:47:06 -05:00
parent bb1a180a1b
commit 605472f983
1 changed files with 3 additions and 0 deletions

View File

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