Spaces:
Sleeping
Sleeping
rogerxavier
commited on
Commit
•
325af3f
1
Parent(s):
40f648c
Update config.py
Browse files
config.py
CHANGED
@@ -19,6 +19,9 @@ def get_variables():
|
|
19 |
data = get_config_data()
|
20 |
#是否允许定时任务执行->方便开关任务
|
21 |
allow_scheduler = data['allow_scheduler']
|
|
|
|
|
|
|
22 |
#设置manga保存路径
|
23 |
manga_dir = data['manga_dir']
|
24 |
#设置mask保存路径
|
@@ -65,7 +68,8 @@ def get_variables():
|
|
65 |
"bili_spaces": bili_spaces,
|
66 |
"current_config_json":current_config_json,
|
67 |
"current_dir":current_dir,
|
68 |
-
"file_info": file_info
|
|
|
69 |
}
|
70 |
|
71 |
|
|
|
19 |
data = get_config_data()
|
20 |
#是否允许定时任务执行->方便开关任务
|
21 |
allow_scheduler = data['allow_scheduler']
|
22 |
+
#是否允许bili上传
|
23 |
+
allow_submit = data['allow_submit']
|
24 |
+
|
25 |
#设置manga保存路径
|
26 |
manga_dir = data['manga_dir']
|
27 |
#设置mask保存路径
|
|
|
68 |
"bili_spaces": bili_spaces,
|
69 |
"current_config_json":current_config_json,
|
70 |
"current_dir":current_dir,
|
71 |
+
"file_info": file_info,#这个在多个地方用到
|
72 |
+
"allow_submit":allow_submit
|
73 |
}
|
74 |
|
75 |
|