perryhuynh / kcauto

kcauto, the successor to kancolle-auto, a Kantai Collection (Kancolle) bot/automation tool
GNU General Public License v3.0
68 stars 22 forks source link

Script exits with due to invalid config when ship switcher is enabled #332

Closed perryhuynh closed 5 years ago

perryhuynh commented 5 years ago

Environment details

Issue variability

Consistent

Issue

Script exits due to invalid config when ship switcher is enabled since self.config['enabled'] is never set to True if ShipSwitcher is enabled in the config file so it fails the first check during the validation.

Log

[2018-12-26 15:13:34] Initializing config module.
[2018-12-26 15:13:34] Reading config.
[2018-12-26 15:13:35] Invalid config. Please check your config file.
[info] Exit code: 1