force refresh tqdm before close
This commit is contained in:
parent
3c922d983b
commit
bd67c41f54
|
@ -714,6 +714,7 @@ class TotalTQDM:
|
||||||
|
|
||||||
def clear(self):
|
def clear(self):
|
||||||
if self._tqdm is not None:
|
if self._tqdm is not None:
|
||||||
|
self._tqdm.refresh()
|
||||||
self._tqdm.close()
|
self._tqdm.close()
|
||||||
self._tqdm = None
|
self._tqdm = None
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue