Skip to content

Commit afc1edc

Browse files
eta in-line display in SDK
1 parent 23b4175 commit afc1edc

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

remo/sdk.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -265,10 +265,12 @@ def print_file_warnings(data):
265265
elif status == 'in progress':
266266
msg = 'Processing data'
267267
if substatus:
268-
msg = '{} - {}'.format(msg, substatus)
268+
msg = '\r{}'.format(substatus)
269+
else:
270+
msg = '{}'.format(msg)
269271
msg = format_msg(msg)
270272
if msg != last_msg:
271-
print(msg, end='\r')
273+
print(msg, end=' ')
272274
last_msg = msg
273275

274276
elif status in ('done', 'failed'):

0 commit comments

Comments
 (0)