Skip to content

Commit

Permalink
Removed redundant import and docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
MasterGroosha committed May 18, 2021
1 parent 82b1b35 commit 81b2681
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions bot/handlers/callbacks_reports.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
from aiogram import types, Dispatcher
from aiogram.utils.exceptions import MessageToDeleteNotFound, MessageCantBeDeleted
from bot.common import report_msg_cb
from bot.config_reader import Config
from bot.localization import get_string


Expand All @@ -11,8 +10,6 @@ async def callbacks_on_report_msg(call: types.CallbackQuery, callback_data: dict
:param call: callback coming from Telegram
:param callback_data: callback data parsed by aiogram
:param config: bot config
:param lang: preferred bot language
"""
config = call.bot.get("config")
option = callback_data.get("option", "del")
Expand Down

0 comments on commit 81b2681

Please sign in to comment.