Bug 1641201 - Encode merged manifest before trying to write, r=karlcow

Differential Revision: https://phabricator.services.mozilla.com/D77042
This commit is contained in:
James Graham 2020-06-09 14:02:18 +00:00
parent f8f95a8f04
commit 8c33f36244

View File

@ -270,6 +270,6 @@ def run(ancestor, current, new, dest):
if dest != "-":
with open(dest, "wb") as f:
f.write(updated_current_str)
f.write(updated_current_str.encode("utf8"))
else:
print(updated_current_str)