forked from sch/Slixfeed
Delete settings.py
This commit is contained in:
parent
63ae7500df
commit
01803de1a9
1 changed files with 0 additions and 14 deletions
|
@ -1,14 +0,0 @@
|
||||||
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
|
|
Loading…
Reference in a new issue