示例#1
0
 def cleanup(self):
     BackgroundJob.cleanup(self)
     self.dialog.jobs.remove(self)
示例#2
0
 def __init__(self, dialog):
     BackgroundJob.__init__(self)
     self.dialog = dialog
     dialog.jobs.append(self)
     self.run(dialog.ly(), 'staffpaper.ly')