jp: fixed progress

This commit is contained in:
Goffi 2017-05-04 00:36:03 +02:00
commit c8b4b77908

View file

@ -677,7 +677,7 @@ class CommandBase(object):
else: else:
if self.host.watch_progress and uid == self.progress_id: if self.host.watch_progress and uid == self.progress_id:
self.onProgressStarted(metadata) self.onProgressStarted(metadata)
self.loop.call_later(PROGRESS_DELAY, self.progressUpdate) self.host.loop.call_later(PROGRESS_DELAY, self.progressUpdate)
def progressFinishedHandler(self, uid, metadata, profile): def progressFinishedHandler(self, uid, metadata, profile):
if profile != self.profile: if profile != self.profile: