Skip to content

Commit

Permalink
Fix UnboundLocalError in #317
Browse files Browse the repository at this point in the history
  • Loading branch information
houtianze committed Jan 10, 2017
1 parent 090853a commit 2dc460e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bypy/printer_console.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ def pprgr(finish, total, start_time = None, existing = 0,
else:
segth = seg
percent = 100
current_batch_percent = 0
else:
eta = ''
now = time.time()
if start_time is not None and current_batch_percent > 5 and finish > 0:
Expand Down

0 comments on commit 2dc460e

Please sign in to comment.