lint: various non-semantic fixes
This commit is contained in:
parent
cbd80cf7b3
commit
273dcb2a8a
5 changed files with 13 additions and 13 deletions
|
@ -16,10 +16,10 @@ bp = Blueprint("webhook", __name__)
|
|||
|
||||
|
||||
@bp.app_template_filter("webhook_format_name")
|
||||
def webhook_format_name(s: str) -> str:
|
||||
if s == "telegram":
|
||||
def webhook_format_name(format: str) -> str:
|
||||
if format == "telegram":
|
||||
return "Telegram"
|
||||
if s == "matrix":
|
||||
if format == "matrix":
|
||||
return "Matrix"
|
||||
return "Unknown"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue