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,7 +167,6 @@ class ThreadedStreamHandler(logging.Handler):
|
|||
return
|
||||
msg = self.format(record)
|
||||
stream.write(msg + self.terminator)
|
||||
if hasattr(stream, "flush"):
|
||||
stream.flush()
|
||||
except Exception:
|
||||
self.handleError(record)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue