When cutting/pasting stuff around in the replay files, lines can be commented out, but if some blank line is added, the run errors. I suspect this is because the code always does a json.loads if the line is not a comment.
What about skipping empty lines along with commented ones?
When cutting/pasting stuff around in the replay files, lines can be commented out, but if some blank line is added, the run errors. I suspect this is because the code always does a
json.loads
if the line is not a comment.What about skipping empty lines along with commented ones?