From 09dd5ae541b4bca0de4752e24bc8e89b6bd2333d 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:52:21 +0800 Subject: [PATCH] Revised the long line in the JournalEntryConverter converter. --- src/accounting/journal_entry/converters.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/accounting/journal_entry/converters.py b/src/accounting/journal_entry/converters.py index c9d2289..ff58714 100644 --- a/src/accounting/journal_entry/converters.py +++ b/src/accounting/journal_entry/converters.py @@ -37,7 +37,8 @@ class JournalEntryConverter(BaseConverter): :param value: The journal entry ID. :return: The corresponding journal entry. """ - journal_entry: JournalEntry | None = db.session.get(JournalEntry, value) + journal_entry: JournalEntry | None \ + = db.session.get(JournalEntry, value) if journal_entry is None: abort(404) return journal_entry