This commit is contained in:
Lex Berezhny 2020-07-14 00:05:25 -04:00
parent 0dff82c31c
commit 622a3b77ef

View file

@ -366,7 +366,7 @@ class Advanced(Basic):
bar.update(d['done'][0] - bar.n) bar.update(d['done'][0] - bar.n)
if d['done'][0] == -1 or d['done'][0] == bar.total: if d['done'][0] == -1 or d['done'][0] == bar.total:
bar.close() bar.close()
self.bars.pop(bar_name) self.bars.pop(bar_name)
def sync_main(self, name, d): def sync_main(self, name, d):
bar = self.bars.get(name) bar = self.bars.get(name)