Skip to content

Commit 5b665c2

Browse files
author
Alex Corley
committed
Fix for whitespace.
1 parent 404ada0 commit 5b665c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

logstash_formatter/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ def format(self, record):
142142
if 'exc_text' in fields and not fields['exc_text']:
143143
fields.pop('exc_text')
144144

145-
now = datetime.datetime.utcnow()
145+
now = datetime.datetime.utcnow()
146146
base_log = {'@timestamp': now.strftime("%Y-%m-%dT%H:%M:%S") + ".%03d" % (now.microsecond / 1000) + "Z",
147147
'@version': 1,
148148
'source_host': self.source_host}

0 commit comments

Comments
 (0)