Skip to content

Commit 20c948a

Browse files
committed
Фикс циклического импорта
1 parent 195ed8a commit 20c948a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

modules/tasks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
from loguru import logger
77

88
from . import config, db, formatter, pathes, phrase
9-
from .telegram import func
109
from .telegram.client import client
1110
from .telegram.states import _check_and_update_tier
1211

@@ -53,6 +52,7 @@ async def rewards():
5352

5453

5554
async def pay_state_taxes() -> None:
55+
from .telegram import func #! fix has no attribute 'new_command' # noqa: I001
5656
logger.info("Проверяем налоги государств..")
5757
states = db.States.get_all()
5858

0 commit comments

Comments
 (0)