Modernize legacy Python 2 syntax with pyupgrade.
Generated by `pyupgrade --py3-plus --keep-percent-format` followed by manual indentation fixes. Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
This commit is contained in:
parent
543eb396b9
commit
e30b3b094b
107 changed files with 192 additions and 244 deletions
|
@ -35,7 +35,7 @@ def get_bot_result(message_content: str, config: Dict[str, str], sender_id: str)
|
|||
logging.exception(str(e))
|
||||
return 'Error. {}.'.format(str(e))
|
||||
|
||||
class DialogFlowHandler(object):
|
||||
class DialogFlowHandler:
|
||||
'''
|
||||
This plugin allows users to easily add their own
|
||||
DialogFlow bots to zulip
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue