Force encoding while reading files in init scripts
[sdc.git] / catalog-be / src / main / resources / scripts / sdcBePy / users / run.py
index 56640db..2dbd941 100755 (executable)
@@ -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)