diff --git a/pyprind/.progbar.py.swo b/pyprind/.progbar.py.swo new file mode 100644 index 0000000..94414a2 Binary files /dev/null and b/pyprind/.progbar.py.swo differ diff --git a/pyprind/prog_class.py b/pyprind/prog_class.py index e2dc733..4821332 100644 --- a/pyprind/prog_class.py +++ b/pyprind/prog_class.py @@ -5,7 +5,7 @@ class Prog(): def __init__(self, iterations, track_time, stream): self.cnt = 0 - self.max_iter = float(iterations) # accommodation for Python 2.x users + self.max_iter = iterations self.track = track_time self.time = [time.clock(), 0] self.stream = stream