Upload New File

This commit is contained in:
Schimon Jehudah 2023-10-10 13:38:38 +00:00
parent aa8c35d728
commit b1f5a37978

14
slixfeed/settings.py Normal file
View file

@ -0,0 +1,14 @@
async def get_value_default(key):
"""
Get settings default value.
:param key: "enabled", "interval", "quantum".
:return: Integer.
"""
if key == "enabled":
result = 1
elif key == "quantum":
result = 4
elif key == "interval":
result = 30
return result