Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/appstore.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Schwan <carl@carlschwan.eu>2022-08-16 15:55:51 +0300
committerGitHub <noreply@github.com>2022-08-16 15:55:51 +0300
commitff1e5f3df9b7c800ec4d9aac6f84c510aa1e3f54 (patch)
tree7bdbf41c7fa37a70f823576f8bafbbfc2a803beb
parent4ac41446e5d55ece4c1363e8d018f2b4e6bd32a2 (diff)
parentbad6bc7a097daccbb16f506404a8275fad58770e (diff)
Merge pull request #919 from nextcloud/fix/utf-8-issues
Fix utf-8 issues
-rw-r--r--nextcloudappstore/scaffolding/archive.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nextcloudappstore/scaffolding/archive.py b/nextcloudappstore/scaffolding/archive.py
index 81e4cc5c97..771647b77c 100644
--- a/nextcloudappstore/scaffolding/archive.py
+++ b/nextcloudappstore/scaffolding/archive.py
@@ -42,7 +42,7 @@ def build_files(args: Dict[str, str]) -> Dict[str, str]:
rel_file_path = '%s/%s' % (
vars['id'], relpath(file_path, base)
)
- with open(file_path) as f:
+ with open(file_path, encoding='utf-8') as f:
t = Template(f.read())
result[rel_file_path] = t.render(context)