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 18, 2016
1 parent 2717676 commit 2e45dd7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bin/garden
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/usr/bin/env python

from __future__ import print_function
import sys
import argparse
import zipfile
Expand Down Expand Up @@ -203,7 +204,8 @@ class GardenTool(object):
index += 1
data += buf
count += len(buf)
print('Progression', count, animation[index % len(animation)], '\r')
print('Progression', count,
animation[index % len(animation)], end='\r')
sys.stdout.flush()
print('Download done ({} downloaded)'.format(count))

Expand Down

0 comments on commit 2e45dd7

Please sign in to comment.