Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jan 29, 2024
1 parent 2e6251a commit 8aad2f2
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions birthdays.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ def days_until_next(date):
)

print(
f"Upcoming Birthdays:\n{'=' * 19}\n{text}"
if text
else "You don't have any birthdays in your address book.",
(
f"Upcoming Birthdays:\n{'=' * 19}\n{text}"
if text
else "You don't have any birthdays in your address book."
),
)

0 comments on commit 8aad2f2

Please sign in to comment.