Fix unicode issue in release promotion code (#19954)

This commit is contained in:
Ben Hearsum (he/him) 2021-06-10 16:01:59 -04:00 committed by GitHub
parent c0531ffa82
commit 42d87d1a7a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -171,4 +171,4 @@ def release_promotion_action(parameters, graph_config, input, task_group_id, tas
def read_version_file():
with open(os.path.join(os.path.dirname(__file__), '..', '..', 'version.txt')) as f:
return f.read().strip().decode('utf-8')
return f.read().strip()