mirror of
https://github.com/Kozea/Radicale.git
synced 2025-06-26 16:45:52 +00:00
Remove unnecessary check
This commit is contained in:
parent
390240c35a
commit
77626e5aed
1 changed files with 1 additions and 2 deletions
|
@ -167,8 +167,7 @@ class ThreadedStreamHandler(logging.Handler):
|
||||||
return
|
return
|
||||||
msg = self.format(record)
|
msg = self.format(record)
|
||||||
stream.write(msg + self.terminator)
|
stream.write(msg + self.terminator)
|
||||||
if hasattr(stream, "flush"):
|
stream.flush()
|
||||||
stream.flush()
|
|
||||||
except Exception:
|
except Exception:
|
||||||
self.handleError(record)
|
self.handleError(record)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue