Skip to content

Commit

Permalink
bug fix for account age DM text
Browse files Browse the repository at this point in the history
fixes #1760, thanks @electricduck!
  • Loading branch information
snarfed committed Feb 7, 2025
1 parent 74aec52 commit 0865089
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
'private': 'your account is set as private or protected',
'requires-avatar': "you haven't set a profile picture",
'requires-name': "you haven't set a profile name that's different from your username",
'requires-old-account': "your account is less than {humanize.naturaldelta(OLD_ACCOUNT_AGE)} old",
'requires-old-account': f"your account is less than {humanize.naturaldelta(OLD_ACCOUNT_AGE)} old",
}

logger = logging.getLogger(__name__)
Expand Down

0 comments on commit 0865089

Please sign in to comment.