-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomers
Description
Currently we update probe information by deleting the json file and recreating it, something like this:
rm cache/probe_info.json; source venv/bin/activate; python3 raclette/tools.py
The issue is that if the tools.py script faces a problem, then we are left with no json file or a corrupted file.
We should:
- Try to get the new data
- Check if the new file can be correctly parsed
- And only if there is no problem with the new file, replace the old file with the new one.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomers