Loads config from given path if available otherwise throws error complaining about none existent file.
Actual Behavior
python pokecli.py foo/bar/config.yml
Throws some out of range index error:
pogobot_1 | Traceback (most recent call last):
pogobot_1 | File "pokecli.py", line 93, in <module>
pogobot_1 | main()
pogobot_1 | File "pokecli.py", line 72, in main
pogobot_1 | config = init_config()
pogobot_1 | File "pokecli.py", line 54, in init_config
pogobot_1 | config_path = sys.argv[2]
pogobot_1 | IndexError: list index out of range
Expected Behavior
Loads config from given path if available otherwise throws error complaining about none existent file.
Actual Behavior
Throws some out of range index error:
Steps to Reproduce
run
Other Information
OS: CentOS Git Commit: 039613290cd859cd88ee822b8da181b4aba5efd6