Skip to content

Commit 1e76cd3

Browse files
authored
Merge pull request #60 from rediscovery-io/eta_fix
eta in-line display in SDK
2 parents 4c6fcc1 + afc1edc commit 1e76cd3

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)