Closed polyvertex closed 8 years ago
There's a potential bug at line 192 in case self._default_action is not found in self._actions. You probably want to correct that at line 33 in _read_config. For that matter, to call settings.get_enum should be more appropriate in your case.
self._default_action
self._actions
_read_config
settings.get_enum
Thanks for reporting that. I see what you mean, i cant be sure what a user would put in the config and if it is one of my valid actions.
There's a potential bug at line 192 in case
self._default_action
is not found inself._actions
. You probably want to correct that at line 33 in_read_config
. For that matter, to callsettings.get_enum
should be more appropriate in your case.