From 172a12b134033e250ca7f4a3712558ca86781c4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BE=9D=E7=91=AA=E8=B2=93?= Date: Sun, 23 Apr 2023 09:44:25 +0800 Subject: [PATCH] Fixed the type hint of the "currency_options" function. --- src/accounting/template_globals.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/accounting/template_globals.py b/src/accounting/template_globals.py index fb5db36..8e7f0e1 100644 --- a/src/accounting/template_globals.py +++ b/src/accounting/template_globals.py @@ -21,7 +21,7 @@ from accounting.models import Currency from accounting.utils.options import options -def currency_options() -> str: +def currency_options() -> list[Currency]: """Returns the currency options. :return: The currency options.