pinhook/pinhook
Lars Kellogg-Stedman 35f5bb684b
correct UnboundLocalError in read_conf (#76)
When encountering an error, read_conf uses click.echo(...) to emit an
error message but then continue execution, causing the read_conf
method to throw an error of the form:

    UnboundLocalError: local variable 'output' referenced before assignment

By raising click.ClickException instead of calling click.echo, we
ensure that pinhook exits with an error message (and no traceback).
2020-11-12 08:10:31 -08:00
..
__init__.py add basic bot framework 2017-09-27 12:27:24 -07:00
__version__.py fix issue with reloading plugins in some contexts 2020-09-23 11:25:15 -07:00
bot.py fix issue with reloading plugins in some contexts 2020-09-23 11:25:15 -07:00
cli.py correct UnboundLocalError in read_conf (#76) 2020-11-12 08:10:31 -08:00
log.py break out logging into separate module 2019-09-23 12:23:41 -07:00
plugin.py add ops option to command decorator (closes #72) 2019-10-02 09:56:56 -07:00