Ver Fonte

try to cleanup some migration logging

Blake Blackshear há 4 anos atrás
pai
commit
5ad4017510
1 ficheiros alterados com 1 adições e 0 exclusões
  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()