Blake Blackshear %!s(int64=4) %!d(string=hai) anos
pai
achega
5db7b242aa
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      frigate/events.py

+ 1 - 1
frigate/events.py

@@ -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({x: event_data[x] for x in event_data if x not in ['frame']}, outfile)
 
     def run(self):
         while True: