def cancel_operation(self):
    wbt.cancel_op = True
    self.print_line_to_output('Cancelling operation...')
    self.progress.update_idletasks()
def cancel_operation(self):
    wbt.cancel_op = True
    self.print_line_to_output('Cancelling operation...')
    self.progress.update_idletasks()