Commit 4fde6332 authored by Dimitri Podborski's avatar Dimitri Podborski
Browse files

fix #195

parent fb88dd37
...@@ -28,7 +28,7 @@ Run the following commands to set everything up: ...@@ -28,7 +28,7 @@ Run the following commands to set everything up:
git clone http://mpegx.int-evry.fr/software/podborski/AutomationTools.git git clone http://mpegx.int-evry.fr/software/podborski/AutomationTools.git
cd AutomationTools cd AutomationTools
python3 -m venv venv python3 -m venv venv
source venv/bin/activate source venv/bin/activate (macOS/Linux) or .\venv\Scripts\activate (Windows)
pip install -r requirements.txt pip install -r requirements.txt
(run your scripts) (run your scripts)
...@@ -37,6 +37,8 @@ pip install -r requirements.txt ...@@ -37,6 +37,8 @@ pip install -r requirements.txt
deactivate deactivate
``` ```
If you don't want to use virtual environment you can just start with: `pip install -r requirements.txt`.
## 2. systems.py ## 2. systems.py
`systems.py` is a script which is intended to be used in the Systems group. Use the `-h` option to see all available parameters. `systems.py` is a script which is intended to be used in the Systems group. Use the `-h` option to see all available parameters.
......
...@@ -124,7 +124,7 @@ def load_json_data(json_path): ...@@ -124,7 +124,7 @@ def load_json_data(json_path):
''' '''
Load json file from json_path and return the data. Load json file from json_path and return the data.
''' '''
with open(json_path, 'r') as f: with open(json_path, 'r', encoding='utf-8') as f:
data = json.load(f) data = json.load(f)
return data return data
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment