Skip to content

Commit 2e45dd7

Browse files
committed
Fix tuple printing on py2
1 parent 2717676 commit 2e45dd7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

bin/garden

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#!/usr/bin/env python
22

3+
from __future__ import print_function
34
import sys
45
import argparse
56
import zipfile
@@ -203,7 +204,8 @@ class GardenTool(object):
203204
index += 1
204205
data += buf
205206
count += len(buf)
206-
print('Progression', count, animation[index % len(animation)], '\r')
207+
print('Progression', count,
208+
animation[index % len(animation)], end='\r')
207209
sys.stdout.flush()
208210
print('Download done ({} downloaded)'.format(count))
209211

0 commit comments

Comments
 (0)