comparison frontends/src/jp/base.py @ 2237:fd4111075e00

jp: fixed progress
author Goffi <goffi@goffi.org>
date Thu, 04 May 2017 00:36:03 +0200
parents 4db836386641
children 637886ac35f6
comparison
equal deleted inserted replaced
2236:4b1873ce6b61 2237:fd4111075e00
675 except AttributeError: 675 except AttributeError:
676 self.host.progress_ids_cache = [cache_data] 676 self.host.progress_ids_cache = [cache_data]
677 else: 677 else:
678 if self.host.watch_progress and uid == self.progress_id: 678 if self.host.watch_progress and uid == self.progress_id:
679 self.onProgressStarted(metadata) 679 self.onProgressStarted(metadata)
680 self.loop.call_later(PROGRESS_DELAY, self.progressUpdate) 680 self.host.loop.call_later(PROGRESS_DELAY, self.progressUpdate)
681 681
682 def progressFinishedHandler(self, uid, metadata, profile): 682 def progressFinishedHandler(self, uid, metadata, profile):
683 if profile != self.profile: 683 if profile != self.profile:
684 return 684 return
685 if uid == self.progress_id: 685 if uid == self.progress_id: