Skip to content

Commit

Permalink
update gameroot.py for 1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
starfungus committed Dec 18, 2024
1 parent 92a25b4 commit a6a032e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hagadias/gameroot.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def get_object_tree(self, cls=QudObjectProps):
log.debug("Repairing invalid XML line breaks... ")
contents = repair_invalid_linebreaks(contents)
log.debug("done in %.2f seconds", time.time() - start)
raw = et.fromstring(contents)
raw = et.fromstring(bytes(contents, encoding='utf-8'))
# Objects must receive the qindex and add themselves, rather than doing it here, because
# they need access to their parent by name lookup during creation for inheritance
# calculations.
Expand Down

0 comments on commit a6a032e

Please sign in to comment.