Skip to content

Commit 900f6e0

Browse files
committed
Fix printing 'time: 303 µs' on py2.7
1 parent 213de70 commit 900f6e0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

autotime/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def start(self):
2323

2424
def stop(self):
2525
delta = monotonic() - self.start_time
26-
print('time: {}'.format(format_delta(delta)))
26+
print(u'time: {}'.format(format_delta(delta)))
2727

2828

2929
timer = LineWatcher()

0 commit comments

Comments
 (0)