Skip to content
Permalink
Browse files
AIRAVATA-3618 Open in UTF8 for updating
  • Loading branch information
machristie committed May 17, 2022
1 parent 45aec2e commit e979c40a19f5836baae38d8e08483f89b18cae77
Showing 1 changed file with 1 addition and 1 deletion.
@@ -98,7 +98,7 @@ def delete(self, resource_path):

def update(self, resource_path, file):
full_path = self.datastore.path(resource_path)
with open(full_path, 'w') as f:
with open(full_path, 'w', encoding='utf-8') as f:
f.write(file.read())

def create_dirs(self, resource_path, dir_names=[], create_unique=False):

0 comments on commit e979c40

Please sign in to comment.