Skip to content

Commit

Permalink
Fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
Ubuntu committed Oct 8, 2019
1 parent 8f43cab commit 6e89294
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cufacesearch/cufacesearch/ingester/kinesis_ingester.py
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ def get_msg_json(self):
print(msg.format(self.pp, len(records)))
if self.verbose > 4:
lag_ms = rec_response['MillisBehindLatest']
msg = "[{}: log] Lagging by {.3f}s"
msg = "[{}: log] Lagging by {:.2f}s"
print(msg.format(self.pp, lag_ms/1000.0))
sleep_count = 0
for rec in records:
Expand Down Expand Up @@ -323,4 +323,4 @@ def get_msg_json(self):
time.sleep(1)
except Exception as inst:
msg = "[{}: ERROR] get_msg_json failed with error {}"
print(msg.format(self.pp, inst))
print(msg.format(self.pp, inst))

0 comments on commit 6e89294

Please sign in to comment.