From 1b8cff752a0f5b85660881112692402b6e259e5b Mon Sep 17 00:00:00 2001 From: Michel Roux Date: Mon, 12 Sep 2022 18:00:44 +0000 Subject: [PATCH] Fix mypy and djlint --- divent/bot.py | 2 +- divent/templates/guilds.html.j2 | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/divent/bot.py b/divent/bot.py index 097259a..26484f6 100644 --- a/divent/bot.py +++ b/divent/bot.py @@ -10,7 +10,7 @@ from dotenv import load_dotenv from ics import Calendar, ContentLine, Event from ics.alarm import DisplayAlarm from quart import Quart, redirect, render_template, request, session, url_for -from requests_oauthlib import OAuth2Session +from requests_oauthlib import OAuth2Session # type: ignore import sentry_sdk from sentry_sdk.integrations.quart import QuartIntegration from uvicorn.middleware.proxy_headers import ProxyHeadersMiddleware # type: ignore diff --git a/divent/templates/guilds.html.j2 b/divent/templates/guilds.html.j2 index 5c87fe9..26dde37 100644 --- a/divent/templates/guilds.html.j2 +++ b/divent/templates/guilds.html.j2 @@ -9,9 +9,9 @@ height="80"/> {{ _('User Avatar') }} + alt="{{ _('User Avatar') }}" + width="80" + height="80"/>

{{ client.user.display_name }}