Skip to content

Commit

Permalink
Change encoding remote config in runtime local
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeHV14 committed Jan 9, 2025
1 parent 4fa2dca commit 8225845
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class RuntimeLocal(DevopsPlatformGateway):
def get_remote_config(self, repository, path, branch=""):
remote_config_path = f"{repository}/{path}"

with open(remote_config_path) as f:
with open(remote_config_path, 'r', encoding='utf-8') as f:
return json.load(f)

def message(self, type, message):
Expand Down

0 comments on commit 8225845

Please sign in to comment.