Fix too long line at webhook.py

This commit is contained in:
Xanders 2021-02-26 21:31:33 +03:00 committed by GitHub
parent 984e70d4e8
commit 7281e794b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -31,7 +31,8 @@ class Webhook(RPCHandler):
self._format = self._config['webhook'].get('format', 'form') self._format = self._config['webhook'].get('format', 'form')
if self._format != 'form' and self._format != 'json': if self._format != 'form' and self._format != 'json':
raise NotImplementedError('Unknown webhook format `{}`, possible values are `form` (default) and `json`'.format(self._format)) raise NotImplementedError('Unknown webhook format `{}`, possible values are '
'`form` (default) and `json`'.format(self._format))
def cleanup(self) -> None: def cleanup(self) -> None:
""" """