copy obj so crop doesnt change

This commit is contained in:
Blake Blackshear
2020-09-13 11:39:03 -05:00
parent 5fe201da25
commit adcc3e9b98
2 changed files with 12 additions and 8 deletions

View File

@@ -130,7 +130,7 @@ class EventProcessor(threading.Thread):
return
with open(f"{os.path.join(self.clip_dir, clip_name)}.json", 'w') as outfile:
json.dump({x: event_data[x] for x in event_data if x not in ['frame']}, outfile)
json.dump(event_data, outfile)
def run(self):
while True: