Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Dimitri Podborski
AutomationTools
Commits
4fde6332
Commit
4fde6332
authored
Mar 24, 2021
by
Dimitri Podborski
Browse files
fix
#195
parent
fb88dd37
Changes
2
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
4fde6332
...
...
@@ -28,7 +28,7 @@ Run the following commands to set everything up:
git clone http://mpegx.int-evry.fr/software/podborski/AutomationTools.git
cd
AutomationTools
python3
-m
venv venv
source
venv/bin/activate
source
venv/bin/activate
(
macOS/Linux
)
or .
\v
env
\S
cripts
\a
ctivate
(
Windows
)
pip
install
-r
requirements.txt
(
run your scripts
)
...
...
@@ -37,6 +37,8 @@ pip install -r requirements.txt
deactivate
```
If you don't want to use virtual environment you can just start with:
`pip install -r requirements.txt`
.
## 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.
...
...
automation/helpers.py
View file @
4fde6332
...
...
@@ -124,7 +124,7 @@ def load_json_data(json_path):
'''
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
)
return
data
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment