Skip to content

Commit

Permalink
Fix git revision encoding (flutter#27853)
Browse files Browse the repository at this point in the history
  • Loading branch information
Emmanuel Garcia authored Aug 3, 2021
1 parent 9741683 commit eb1d87d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/git_revision.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def GetRepositoryVersion(repository):
'HEAD',
])

return version.strip()
return str(version.strip(), 'utf-8')

def main():
parser = argparse.ArgumentParser()
Expand Down

0 comments on commit eb1d87d

Please sign in to comment.