Skip to content

Commit

Permalink
Fix tuple printing on py2
Browse files Browse the repository at this point in the history
  • Loading branch information
KeyWeeUsr committed Jun 17, 2016
1 parent 2717676 commit d461dbe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/garden
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,8 @@ class GardenTool(object):
index += 1
data += buf
count += len(buf)
print('Progression', count, animation[index % len(animation)], '\r')
print(' '.join([str(x) for x in ('Progression', count,
animation[index % len(animation)], '\r')]))
sys.stdout.flush()
print('Download done ({} downloaded)'.format(count))

Expand Down

0 comments on commit d461dbe

Please sign in to comment.