mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-15 15:45:27 +03:00
Removed pointless check in util.Process
The log_listener.queue should never be None, unless something has gone extremely wrong in the log setup code. If we're that far gone, crashing is better.
This commit is contained in:
parent
7092ca3505
commit
abca52e183
@ -88,6 +88,5 @@ class Process(BaseProcess):
|
||||
|
||||
self.logger = logging.getLogger(self.name)
|
||||
|
||||
if self.__log_queue:
|
||||
logging.basicConfig(handlers=[], force=True)
|
||||
logging.getLogger().addHandler(QueueHandler(self.__log_queue))
|
||||
logging.basicConfig(handlers=[], force=True)
|
||||
logging.getLogger().addHandler(QueueHandler(self.__log_queue))
|
||||
|
||||
Loading…
Reference in New Issue
Block a user