Revised the coding style in the title setter of the Account data model.
This commit is contained in:
parent
895bca2508
commit
6bf18be455
@ -187,8 +187,7 @@ class Account(db.Model):
|
||||
if l10n.locale == current_locale:
|
||||
l10n.title = value
|
||||
return
|
||||
self.l10n.append(AccountL10n(
|
||||
locale=current_locale, title=value))
|
||||
self.l10n.append(AccountL10n(locale=current_locale, title=value))
|
||||
|
||||
@classmethod
|
||||
def find_by_code(cls, code: str) -> t.Self | None:
|
||||
|
Loading…
Reference in New Issue
Block a user