From ac3b5523b19f95d7850e007b62a6ce78b46cd2d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BE=9D=E7=91=AA=E8=B2=93?= Date: Sat, 8 Apr 2023 07:51:00 +0800 Subject: [PATCH] Fixed the documentation of the default_currency and default_ie_account pseudo property in the Options class. --- src/accounting/utils/options.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/accounting/utils/options.py b/src/accounting/utils/options.py index d2c60ea..6e14deb 100644 --- a/src/accounting/utils/options.py +++ b/src/accounting/utils/options.py @@ -100,9 +100,9 @@ class Options: @property def default_currency(self) -> Currency: - """Returns the text of the default currency code. + """Returns the default currency. - :return: The text of the default currency code. + :return: The default currency. """ return db.session.get(Currency, self.default_currency_code) @@ -125,9 +125,9 @@ class Options: @property def default_ie_account(self) -> CurrentAccount: - """Returns the default account code for the income and expenses log. + """Returns the default account for the income and expenses log. - :return: The default account code for the income and expenses log. + :return: The default account for the income and expenses log. """ if self.default_ie_account_code \ == CurrentAccount.CURRENT_AL_CODE: