diff options
-rwxr-xr-x | ckandumper | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -133,6 +133,9 @@ class DownloadMultiple: await asyncio.gather(*jobs) + if hasattr(progress_bar, 'close'): + progress_bar.close() + def get(self, filepairs): self.stats = { 'exitstatus': {} } loop = asyncio.get_event_loop() @@ -336,3 +339,10 @@ if __name__ == "__main__": except KeyboardInterrupt as e: print(e) exit(1) + #except RuntimeError as e: + # # Weird tqdm error + # if str(e) == 'Set changed size during iteration': + # pass + # else: + # print(e) + # exit(1) |