diff --git a/handlers/keys/key_utils.py b/handlers/keys/key_utils.py index 211e4724..d23e5468 100644 --- a/handlers/keys/key_utils.py +++ b/handlers/keys/key_utils.py @@ -5,7 +5,6 @@ from typing import Any from sqlalchemy import delete, select from sqlalchemy.ext.asyncio import AsyncSession -from config import PUBLIC_LINK, REMNAWAVE_LOGIN, REMNAWAVE_PASSWORD, SUPERNODE, TRIAL_CONFIG from config import PUBLIC_LINK, REMNAWAVE_LOGIN, REMNAWAVE_PASSWORD, SUPERNODE, TRIAL_CONFIG from database import delete_notification, get_servers, get_tariff_by_id, store_key from database.models import Key, Server, Tariff @@ -164,7 +163,6 @@ async def create_key_on_cluster( plan=plan, session=session, is_trial=is_trial, - is_trial=is_trial, ) else: await asyncio.gather( @@ -179,7 +177,6 @@ async def create_key_on_cluster( plan=plan, session=session, is_trial=is_trial, - is_trial=is_trial, ) for server in xui_servers ], diff --git a/handlers/notifications/general_notifications.py b/handlers/notifications/general_notifications.py index 8ba52116..77638c7e 100644 --- a/handlers/notifications/general_notifications.py +++ b/handlers/notifications/general_notifications.py @@ -597,4 +597,5 @@ async def process_auto_renew_or_notify( ) except Exception as e: - logger.error(f"❌ Ошибка в process_auto_renew_or_notify: {e}") \ No newline at end of file + logger.error(f"❌ Ошибка в process_auto_renew_or_notify: {e}") + \ No newline at end of file