Fix too long line at webhook.py
This commit is contained in:
parent
984e70d4e8
commit
7281e794b4
@ -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:
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user