Add computed properties to settings
This commit is contained in:
@@ -3,9 +3,6 @@ from functools import wraps
|
||||
from telegram_downloader_bot.logger import log
|
||||
from telegram_downloader_bot.settings import settings
|
||||
|
||||
allowed_ids = settings.allowed_ids.split(",")
|
||||
allowed_ids = [int(x) for x in allowed_ids]
|
||||
|
||||
|
||||
def protected(func):
|
||||
@wraps(func)
|
||||
|
||||
Reference in New Issue
Block a user