Code Review
/
sdc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Force encoding while reading files in init scripts
[sdc.git]
/
catalog-be
/
src
/
main
/
resources
/
scripts
/
sdcBePy
/
users
/
run.py
diff --git
a/catalog-be/src/main/resources/scripts/sdcBePy/users/run.py
b/catalog-be/src/main/resources/scripts/sdcBePy/users/run.py
index
56640db
..
2dbd941
100755
(executable)
--- a/
catalog-be/src/main/resources/scripts/sdcBePy/users/run.py
+++ b/
catalog-be/src/main/resources/scripts/sdcBePy/users/run.py
@@
-15,7
+15,7
@@
colors = BColors()
def load_users(conf_path):
- with open(conf_path, 'r') as f:
+ with open(conf_path, 'r'
, encoding='utf-8'
) as f:
return json.load(f)