From 177603606fb88c43f1450213322d7782d7b950a8 Mon Sep 17 00:00:00 2001 From: mihalin Date: Fri, 11 Feb 2022 01:04:15 +0300 Subject: [PATCH] flake8 --- olgram/commands/menu.py | 2 +- olgram/models/models.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/olgram/commands/menu.py b/olgram/commands/menu.py index 9ca36f3..7473ce5 100644 --- a/olgram/commands/menu.py +++ b/olgram/commands/menu.py @@ -217,7 +217,7 @@ async def send_bot_second_text_menu(bot: Bot, call: ty.Optional[types.CallbackQu async def send_bot_templates_menu(bot: Bot, call: ty.Optional[types.CallbackQuery] = None, - chat_id: ty.Optional[int] = None): + chat_id: ty.Optional[int] = None): if call: await call.answer() keyboard = types.InlineKeyboardMarkup(row_width=2) diff --git a/olgram/models/models.py b/olgram/models/models.py index a336638..20f2e6d 100644 --- a/olgram/models/models.py +++ b/olgram/models/models.py @@ -88,4 +88,4 @@ class BannedUser(Model): class DefaultAnswer(Model): id = fields.BigIntField(pk=True) bot = fields.ForeignKeyField("models.Bot", related_name="answers", on_delete=fields.relational.CASCADE) - text = fields.TextField() \ No newline at end of file + text = fields.TextField()