grenoble-metropole-2019: make template preparation script python3 compliant (#51912)
This commit is contained in:
parent
f7222b0c53
commit
3e577835bf
|
@ -41,7 +41,7 @@ for content in root.xpath('//a[@id="eosm-btn"]'):
|
|||
content.clear()
|
||||
content.attrib['id'] = 'publik-mobile-menu'
|
||||
|
||||
content = etree.tostring(root, method='html', pretty_print=True)
|
||||
content = str(etree.tostring(root, method='html', pretty_print=True), 'utf-8')
|
||||
|
||||
# remove all references to downloaded temporary file
|
||||
content = content.replace(FILENAME, '')
|
||||
|
|
Loading…
Reference in New Issue