bool_input moved to utils.cli

This commit is contained in:
jesopo 2018-11-14 10:27:15 +00:00
parent aafe0624b2
commit ca965e20cc

View file

@ -73,7 +73,7 @@ if len(server_configs):
bot.run() bot.run()
else: else:
try: try:
if bool_input("no servers found, add one?"): if utils.cli.bool_input("no servers found, add one?"):
utils.cli.add_server(database) utils.cli.add_server(database)
except KeyboardInterrupt: except KeyboardInterrupt:
print() print()