remove extra whitespace

This commit is contained in:
Rykov7
2022-08-21 07:51:43 +03:00
parent 6a4cd7f88b
commit eae8735797
2 changed files with 1 additions and 8 deletions
-7
View File
@@ -1,7 +0,0 @@
/books/
/logs/
/testbot.py
/.venv/
/.idea/
/config.py
/.env
+1 -1
View File
@@ -28,7 +28,7 @@ def remind():
for entry in holidays[1:]: for entry in holidays[1:]:
date, holiday, description = entry date, holiday, description = entry
if today.month == dt.strptime(date, "%Y-%m-%d").month and today.day == dt.strptime(date, "%Y-%m-%d").day: 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}, <b><u>{holiday.upper()}</u></b>! \ notification = f'🎉💻 Сегодня {dt.strptime(date, "%m-%d"):%d.%m}, <b><u>{holiday.upper()}</u></b>!\
\n\n{description}.' \n\n{description}.'
if dt.strptime(date, "%Y-%m-%d").year != 1: if dt.strptime(date, "%Y-%m-%d").year != 1:
age = today.year - dt.strptime(date, "%Y-%m-%d").year age = today.year - dt.strptime(date, "%Y-%m-%d").year