Skip to content

Commit

Permalink
Fix xrange to range for supporting python3
Browse files Browse the repository at this point in the history
  • Loading branch information
winterjung committed Dec 29, 2017
1 parent 33094c8 commit af14c06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/loader_spin.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

try:
spinner.start()
for i in xrange(100):
for i in range(100):
spinner.text = '{0}% Downloaded dataset.zip'.format(i)
time.sleep(random.random())
spinner.succeed('Downloaded dataset.zip')
Expand Down

0 comments on commit af14c06

Please sign in to comment.