def _clear_window(): if chips.info_current() is not None: if chips.info_current().find('Frame') != -1: chips.erase() else: chips.add_frame() if chips.info() is None: chips.add_window()
def exceptions(): chips.advanced.discard_undo_buffer() chips.erase() chips.unlock()