Sorted imports

This commit is contained in:
Profitroll 2023-06-21 22:03:52 +02:00
parent 7825d7ded3
commit 592b83377b
Signed by: profitroll
GPG Key ID: FA35CAB49DACD3B2
2 changed files with 7 additions and 9 deletions

View File

@ -2,11 +2,10 @@ import contextlib
import logging import logging
from os import getpid from os import getpid
from classes.pyroclient import PyroClient
from modules.scheduler import scheduler
from convopyro import Conversation from convopyro import Conversation
from classes.pyroclient import PyroClient
from modules.scheduler import scheduler
logging.basicConfig( logging.basicConfig(
level=logging.INFO, level=logging.INFO,

View File

@ -1,21 +1,20 @@
from datetime import datetime
import logging import logging
from datetime import datetime
from os import makedirs, path from os import makedirs, path
from random import choice from random import choice
from shutil import rmtree from shutil import rmtree
from traceback import format_exc from traceback import format_exc
from uuid import uuid4 from uuid import uuid4
from PIL import Image
import aiofiles import aiofiles
from aiohttp import ClientSession from aiohttp import ClientSession
from photosapi_client.errors import UnexpectedStatus
from PIL import Image
from pyrogram.client import Client from pyrogram.client import Client
from modules.api_client import authorize, photo_patch, photo_find, client from modules.api_client import authorize, client, photo_find, photo_patch
from modules.database import col_sent, col_submitted from modules.database import col_sent, col_submitted
from photosapi_client.errors import UnexpectedStatus
logger = logging.getLogger(__name__) logger = logging.getLogger(__name__)