def main(): if sys.argv[-1] == 'on': if top_board: oled.welcome() elif sys.argv[-1] == 'off': if top_board: oled.goodbye() exit(0)
def main(): if sys.argv[-1] == 'on': if top_board: oled.welcome() misc.disk_turn_on() elif sys.argv[-1] == 'off': if top_board: oled.goodbye() misc.disk_turn_off() exit(0)