mirror of
https://github.com/BEDOLAGA-DEV/remnawave-bedolaga-telegram-bot.git
synced 2026-01-20 03:40:26 +00:00
Update pricing.py
This commit is contained in:
@@ -96,8 +96,6 @@ async def _prepare_subscription_summary(
|
||||
period_display = format_period_description(summary_data['period_days'], db_user.language)
|
||||
|
||||
base_price_original = PERIOD_PRICES.get(summary_data['period_days'], 0)
|
||||
if base_price_original <= 0:
|
||||
raise ValueError(f"Цена для периода {summary_data['period_days']} дней не настроена")
|
||||
period_discount_percent = db_user.get_promo_discount(
|
||||
"period",
|
||||
summary_data['period_days'],
|
||||
|
||||
Reference in New Issue
Block a user