From 99c4fb7121b0fc89a5f16d73f158182a294d655a Mon Sep 17 00:00:00 2001 From: zfhrp Date: Sat, 14 May 2016 03:14:45 +0900 Subject: [PATCH] fix progress animation CARRIAGE RETURN --- bin/garden | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/garden b/bin/garden index 57c1f9b..5f557fb 100755 --- a/bin/garden +++ b/bin/garden @@ -203,7 +203,7 @@ 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))