From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on gnuweeb.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NO_DNS_FOR_FROM,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 Received: from localhost.localdomain (unknown [101.128.125.94]) by gnuweeb.org (Postfix) with ESMTPSA id CED757E804; Thu, 21 Jul 2022 23:30:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gnuweeb.org; s=default; t=1658446226; bh=lHfNJJbmt4j95Tuv25zGXLhPm7CcWXHS30rbJNpxKKs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=n8xZ6vp1lURByJFW1IbnCyBiWwucF9nrZJ8WB9nInIlZy3LScfPABgFgIq4Vg9BZl 8ZWAkJoP5971fvfxHgup5PDly5uJEIl+tBCFeyhGYsr/InbNy13tQlZG5QeaSmRamD lipAoIxvFnlJ4VyUw5IZBlKjkEThdMAWbJjM4osxoERtKuakCQN1luUnSDGFb1rTGq 0BRxSEPEzPnYaBb+kMhw0pe+tLyL50ndcXgIXQW3Q7w0TWx8hLMOL/atMKwkipg/bn VlkZHkiMwmWEpHIBz6NPafsvmNa2ZAqf12F/gpJ9aB5YGvYE3PvgeoGpjps9qiqSKr 3EjPpjXvoKEwg== From: Muhammad Rizki To: Ammar Faizi Cc: Muhammad Rizki , GNU/Weeb Mailing List Subject: [PATCH v3 15/17] daemon: Remove unused imports Date: Fri, 22 Jul 2022 06:29:36 +0700 Message-Id: <20220721232938.503-16-kiizuha@gnuweeb.org> X-Mailer: git-send-email 2.34.1.windows.1 In-Reply-To: <20220721232938.503-1-kiizuha@gnuweeb.org> References: <20220721232938.503-1-kiizuha@gnuweeb.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: Just remove some unused imports in packages/client.py and scraper/bot.py Signed-off-by: Muhammad Rizki --- daemon/packages/client.py | 2 +- daemon/scraper/bot.py | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/daemon/packages/client.py b/daemon/packages/client.py index 5be7427..d16fe46 100644 --- a/daemon/packages/client.py +++ b/daemon/packages/client.py @@ -6,7 +6,7 @@ from pyrogram import Client from pyrogram.enums import ParseMode from pyrogram.types import Message, InlineKeyboardMarkup, InlineKeyboardButton -from typing import Union, BinaryIO +from typing import Union from email.message import Message from scraper import utils from .decorator import handle_flood diff --git a/daemon/scraper/bot.py b/daemon/scraper/bot.py index c89ed58..bc9d575 100644 --- a/daemon/scraper/bot.py +++ b/daemon/scraper/bot.py @@ -5,15 +5,10 @@ # from apscheduler.schedulers.asyncio import AsyncIOScheduler -from pyrogram.types import InlineKeyboardMarkup -from pyrogram.types import InlineKeyboardButton -from slugify import slugify from packages import DaemonClient from scraper import Scraper -from pyrogram import enums from . import utils from .db import Db -import pyrogram import asyncio import shutil import re -- Muhammad Rizki