Я случайно букву поставил в репозитории и убрал self из db_manager
This commit is contained in:
@@ -242,7 +242,8 @@ class DatabaseManager:
|
||||
"""
|
||||
return ''.join(random.choices(string.ascii_lowercase + string.digits, k=length))
|
||||
|
||||
def _is_subscription_expired(self, expire_timestamp: int) -> bool:
|
||||
@staticmethod
|
||||
def _is_subscription_expired(expire_timestamp: int) -> bool:
|
||||
"""Проверяет, истекла ли подписка"""
|
||||
|
||||
current_time = datetime.now(timezone.utc)
|
||||
|
||||
Reference in New Issue
Block a user