Browse Source

Even more pep8\!

opensearch
Roi Rav-Hon 7 years ago
parent
commit
b532a29d76
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      logzio/handler.py

+ 1
- 1
logzio/handler.py View File

@ -72,7 +72,7 @@ class LogzioHandler(logging.Handler):
def format_message(self, message): def format_message(self, message):
now = datetime.datetime.utcnow() now = datetime.datetime.utcnow()
timestamp = now.strftime('%Y-%m-%dT%H:%M:%S') + \ timestamp = now.strftime('%Y-%m-%dT%H:%M:%S') + \
'.%03d' % (now.microsecond / 1000) + 'Z'
'.%03d' % (now.microsecond / 1000) + 'Z'
return_json = { return_json = {
'logger': message.name, 'logger': message.name,


Loading…
Cancel
Save