Skip to content

Commit

Permalink
more fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
alan-stokes committed Feb 18, 2020
1 parent 1000e60 commit 1084797
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions spinn_utilities/progress_bar.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,13 @@
for line_no in range(0, len(step_characters[song_id])):
step_characters[song_id][line_no] = (
step_characters[song_id][line_no].replace(" ", "_"))

# reset trackers for start of the first progress bar
song_id = random.randint(1, len(step_characters))
line_no = 0
except IOError:
TIME_TO_PLAY = False

# reset trackers for start of the first progress bar
song_id = random.randint(1, len(step_characters))
line_no = 0


class ProgressBar(object):
""" Progress bar for telling the user where a task is up to
Expand Down

0 comments on commit 1084797

Please sign in to comment.