Fix library label

This commit is contained in:
angelblue05 2018-09-09 13:28:21 -05:00
parent b86e5d1f2e
commit f9f3c00f53

View file

@ -356,7 +356,7 @@ class Views(object):
etree.SubElement(xml, 'content') etree.SubElement(xml, 'content')
label = xml.find('label') label = xml.find('label')
label.text = str(name) if type(name) == int else name label.text = str(name) if type(name) == int else name.encode('utf-8')
content = xml.find('content') content = xml.find('content')
content.text = view['Media'] content.text = view['Media']