From eae8735797eec3127091fd9803281ab01cad5546 Mon Sep 17 00:00:00 2001 From: Rykov7 Date: Sun, 21 Aug 2022 07:51:43 +0300 Subject: [PATCH] remove extra whitespace --- .gitignore | 7 ------- reminder.py | 2 +- 2 files changed, 1 insertion(+), 8 deletions(-) delete mode 100644 .gitignore diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 1af14d5..0000000 --- a/.gitignore +++ /dev/null @@ -1,7 +0,0 @@ -/books/ -/logs/ -/testbot.py -/.venv/ -/.idea/ -/config.py -/.env diff --git a/reminder.py b/reminder.py index 5b54239..f5c2580 100644 --- a/reminder.py +++ b/reminder.py @@ -28,7 +28,7 @@ def remind(): for entry in holidays[1:]: date, holiday, description = entry if today.month == dt.strptime(date, "%Y-%m-%d").month and today.day == dt.strptime(date, "%Y-%m-%d").day: - notification = f'🎉💻 Сегодня {dt.strptime(date, "%m-%d"):%d.%m}, {holiday.upper()}! \ + notification = f'🎉💻 Сегодня {dt.strptime(date, "%m-%d"):%d.%m}, {holiday.upper()}!\ \n\n{description}.' if dt.strptime(date, "%Y-%m-%d").year != 1: age = today.year - dt.strptime(date, "%Y-%m-%d").year