another fix

This commit is contained in:
Blake Blackshear 2020-09-07 19:40:38 -05:00
parent 0b7f65e227
commit 5db7b242aa

View File

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