From b383ab6001ef07f9300e739a1fd1dae7f5a2d72e Mon Sep 17 00:00:00 2001 From: profitroll Date: Tue, 3 Jan 2023 15:15:15 +0100 Subject: [PATCH] Optimized imports --- classes/holo_user.py | 5 +---- modules/callbacks/reapply.py | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/classes/holo_user.py b/classes/holo_user.py index 663746a..1757a31 100644 --- a/classes/holo_user.py +++ b/classes/holo_user.py @@ -1,7 +1,4 @@ from datetime import datetime -from os import sep -from uuid import uuid1 -from requests import get from traceback import print_exc from app import app, isAnAdmin from typing import Any, List, Literal, Union @@ -9,7 +6,7 @@ from pyrogram.types import User, ChatMember, ChatPrivileges, Chat, Message, Phot from pyrogram.errors import bad_request_400 from dateutil.relativedelta import relativedelta from classes.errors.geo import PlaceNotFoundError -from modules.database import col_tmp, col_users, col_context, col_warnings, col_applications, col_sponsorships, col_messages +from modules.database import col_tmp, col_users, col_applications, col_sponsorships, col_messages from modules.logging import logWrite from modules.utils import configGet, create_tmp, download_tmp, find_location, locale, should_quote diff --git a/modules/callbacks/reapply.py b/modules/callbacks/reapply.py index 5496b5c..b3c8141 100644 --- a/modules/callbacks/reapply.py +++ b/modules/callbacks/reapply.py @@ -4,7 +4,7 @@ from pyrogram.types import InlineKeyboardMarkup, InlineKeyboardButton, ReplyKeyb from pyrogram.client import Client from pyrogram import filters from classes.holo_user import HoloUser -from modules.utils import configGet, locale, logWrite, should_quote +from modules.utils import configGet, locale, logWrite from modules.handlers.confirmation import confirm_yes from modules.handlers.welcome import welcome_pass from modules.database import col_tmp, col_applications