1 2 3 4 5 6 7 8 9 10 |
def main(): config = yaml.load(open("pybot.yaml")) ensure_config_file_is_ok(config) configure_logger(config) bot = pybot(config) bot.start() if __name__ == "__main__": main() |
:q!
1 2 3 4 5 6 7 8 9 10 |
def main(): config = yaml.load(open("pybot.yaml")) ensure_config_file_is_ok(config) configure_logger(config) bot = pybot(config) bot.start() if __name__ == "__main__": main() |
:q!