Fix circular import

This commit is contained in:
BarsTiger
2023-10-10 19:33:50 +03:00
parent 45205710d3
commit 02e8e5aaf5
3 changed files with 6 additions and 3 deletions

View File

@@ -1,6 +1,5 @@
import os.path
from bot.utils.config import config
from bot.common import bot
from aiogram.exceptions import TelegramBadRequest
import asyncio
@@ -72,6 +71,8 @@ class CloudMeta:
@staticmethod
async def get(item):
from bot.common import bot
try:
if not DBMeta().update_time or not bot.cloudmeta_message_text:
raise AttributeError