Fix cElementTree TypeError: cannot serialize
This commit is contained in:
parent
6021407929
commit
36c627651e
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue