force refresh tqdm before close

master
Vladimir Mandic 3 years ago committed by GitHub
parent 3c922d983b
commit bd67c41f54
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save