Commit bd67c41f authored by Vladimir Mandic's avatar Vladimir Mandic Committed by GitHub

force refresh tqdm before close

parent 3c922d98
...@@ -714,6 +714,7 @@ class TotalTQDM: ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment