Skip to content

Commit

Permalink
Flush stdout upon jsondumps
Browse files Browse the repository at this point in the history
  • Loading branch information
yarikoptic committed May 30, 2024
1 parent 182d175 commit d0134a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Parsing/parse_wQR.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def finalize_record():
global record
record['frame_end'] = iframe
record['time_end'] = 'TODO'
print(json.dumps(record))
print(json.dumps(record), flush=True)
record = None

while True:
Expand Down

0 comments on commit d0134a4

Please sign in to comment.