Fix cElementTree TypeError: cannot serialize

This commit is contained in:
croneter 2018-10-14 12:13:52 +02:00
parent 6021407929
commit 36c627651e

View file

@ -525,7 +525,7 @@ class InitialSetup(object):
etree.SubElement( etree.SubElement(
source, source,
'path', 'path',
attrib={'pathversion': "1"}).text = "smb://" {'pathversion': "1"}).text = "smb://"
etree.SubElement(source, 'allowsharing').text = "true" etree.SubElement(source, 'allowsharing').text = "true"
if reboot is False: if reboot is False:
reboot = xml.write_xml reboot = xml.write_xml