Sfoglia il codice sorgente

try to cleanup some migration logging

Blake Blackshear 4 anni fa
parent
commit
5ad4017510
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      frigate/app.py

+ 1 - 0
frigate/app.py

@@ -115,6 +115,7 @@ class FrigateApp():
         self.db = SqliteExtDatabase(self.config.database.path)
 
         # Run migrations
+        del(logging.getLogger('peewee_migrate').handlers[:])
         router = Router(self.db)
         router.run()