Commit 5845a0b9 authored by Amos Latteier's avatar Amos Latteier

Changed tabs to spaces and added a flush to log writing.

parent 0dc69b1e
......@@ -123,11 +123,10 @@ class DebugLogger:
self.file.write(
'%s %s %s %s\n' % (code, request_id, t, data)
)
self.file.flush()
finally:
self._release()
def log(*args): pass
\ No newline at end of file
......@@ -123,11 +123,10 @@ class DebugLogger:
self.file.write(
'%s %s %s %s\n' % (code, request_id, t, data)
)
self.file.flush()
finally:
self._release()
def log(*args): pass
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment