Commit b37df655 by Eric Coissac

Patch a bug in the progress bar

parent 3dfb48ba
......@@ -63,7 +63,10 @@ cpdef object progressBar(object pos,
freq/=2
delta[1]=newtime
elapsed = newtime-delta[0]
if newtime>delta[0]:
elapsed = newtime-delta[0]
else:
elapsed = 0
if callable(pos):
ipos=pos()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment