summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWojtek Kosior <koszko@koszko.org>2022-11-29 12:29:50 +0100
committerWojtek Kosior <koszko@koszko.org>2022-11-29 12:29:50 +0100
commitc02b0352d873adec1fe75efda9b3b9dc124846b0 (patch)
tree4938ffe3ed0665999298c4399c0d25e94a4a1fcb
parent169d6925b6a246db528b69b67ef9a49b0a1ed474 (diff)
downloadkoszko-org-website-c02b0352d873adec1fe75efda9b3b9dc124846b0.tar.gz
koszko-org-website-c02b0352d873adec1fe75efda9b3b9dc124846b0.zip
add missing type annotationv2022.11.29
-rw-r--r--src/koszko_org_website/app.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/koszko_org_website/app.py b/src/koszko_org_website/app.py
index 84be22a..467672b 100644
--- a/src/koszko_org_website/app.py
+++ b/src/koszko_org_website/app.py
@@ -35,7 +35,7 @@ langs_long_2_short = dict((v, k) for k, v in langs_short_2_long.items())
default_locale = 'pl_PL'
-def raise_exception(msg) -> t.NoReturn:
+def raise_exception(msg: str) -> t.NoReturn:
raise Exception(msg)