lint: various non-semantic fixes

This commit is contained in:
Iain Learmonth 2022-06-23 11:38:27 +01:00
parent cbd80cf7b3
commit 273dcb2a8a
5 changed files with 13 additions and 13 deletions

View file

@ -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"