blakeblackshear.frigate/frigate/__main__.py

16 lines
309 B
Python
Raw Normal View History

2020-11-01 16:56:33 +01:00
import faulthandler; faulthandler.enable()
2020-11-04 04:26:39 +01:00
import sys
2020-11-04 13:28:07 +01:00
import threading
2020-11-04 13:31:25 +01:00
2020-11-04 13:28:07 +01:00
threading.current_thread().name = "frigate"
2020-11-01 15:06:15 +01:00
2020-11-04 13:28:07 +01:00
from frigate.app import FrigateApp
2020-11-04 04:26:39 +01:00
cli = sys.modules['flask.cli']
cli.show_server_banner = lambda *x: None
2019-01-26 15:02:59 +01:00
if __name__ == '__main__':
2020-11-01 16:56:33 +01:00
frigate_app = FrigateApp()
2020-11-01 15:06:15 +01:00
frigate_app.start()