mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-13 22:54:27 -04:00
dont hide real exceptions
This commit is contained in:
parent
4db30779a3
commit
6bb91fbb45
2 changed files with 4 additions and 2 deletions
|
@ -168,7 +168,7 @@ def progress(seconds=TIMEOUT, prefix=''):
|
|||
def end():
|
||||
"""immediately finish progress and clear the progressbar line"""
|
||||
p.terminate()
|
||||
sys.stdout.write('\r{}\r'.format(' ' * TERM_WIDTH)) # clear whole terminal line
|
||||
sys.stdout.write('\r{}{}\r'.format((' ' * TERM_WIDTH), ANSI['reset'])) # clear whole terminal line
|
||||
sys.stdout.flush()
|
||||
|
||||
return end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue