mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
Update client/ayon_core/lib/log.py
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
This commit is contained in:
parent
9f9c03179a
commit
300e086c8d
1 changed files with 1 additions and 1 deletions
|
|
@ -39,7 +39,7 @@ class LogStreamHandler(logging.StreamHandler):
|
|||
self.enabled = False
|
||||
|
||||
def emit(self, record):
|
||||
if not self.enabled:
|
||||
if not self.enabled or self.stream is None:
|
||||
return
|
||||
try:
|
||||
msg = self.format(record)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue