Fix unicode issue in release promotion code (#19954)
This commit is contained in:
parent
c0531ffa82
commit
42d87d1a7a
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue
Block a user