set default argparse config argument to bot.conf

This commit is contained in:
jesopo 2018-07-16 00:45:32 +01:00
parent d385d73dab
commit f24dc72bcb

View file

@ -9,7 +9,7 @@ def bool_input(s):
arg_parser = argparse.ArgumentParser(
description="Python3 event-driven asynchronous modular IRC bot")
arg_parser.add_argument("--config", "-c", default="bot.json",
arg_parser.add_argument("--config", "-c", default="bot.conf",
help="Location of the JSON config file")
arg_parser.add_argument("--database", "-d", default="bot.db",
help="Location of the sqlite3 database file")