def cleanup(self): BackgroundJob.cleanup(self) self.dialog.jobs.remove(self)
def __init__(self, dialog): BackgroundJob.__init__(self) self.dialog = dialog dialog.jobs.append(self) self.run(dialog.ly(), 'staffpaper.ly')
def cleanup(self): BackgroundJob.cleanup(self) self.dialog.jobs.remove(self)
def __init__(self, dialog): BackgroundJob.__init__(self) self.dialog = dialog dialog.jobs.append(self) self.run(dialog.ly(), 'staffpaper.ly')