From d7c43374eca136f58c72a77fe4b5db91c9fd893b Mon Sep 17 00:00:00 2001 From: colons Date: Wed, 18 Oct 2023 19:48:55 +0100 Subject: [PATCH] Placate mypy. --- nkdsu/mixins.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nkdsu/mixins.py b/nkdsu/mixins.py index 8ebc81ac..adf36efa 100644 --- a/nkdsu/mixins.py +++ b/nkdsu/mixins.py @@ -1,6 +1,6 @@ import codecs from os import path -from typing import Any +from typing import Any, Optional from django.conf import settings from django.views.generic import TemplateView @@ -8,7 +8,7 @@ class MarkdownView(TemplateView): - template_name = 'markdown.html' + template_name: Optional[str] = 'markdown.html' filename: str title: str