Skip to content

Commit

Permalink
Fix formatting for Python 2.6
Browse files Browse the repository at this point in the history
  • Loading branch information
astrofrog committed Oct 22, 2014
1 parent 3ec5263 commit 24eddab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion psrecord/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ def monitor(pid, logfile=None, plot=None, duration=None, interval=None, include_

# Check if process status indicates we should exit
if pr_status in [psutil.STATUS_ZOMBIE, psutil.STATUS_DEAD]:
print("Process finished ({:.2} seconds)"
print("Process finished ({0:.2f} seconds)"
.format(current_time - start_time))
break

Expand Down

0 comments on commit 24eddab

Please sign in to comment.