rogerxavier commited on
Commit
32acc22
1 Parent(s): 9d4219f

Update config.py

Browse files
Files changed (1) hide show
  1. config.py +4 -1
config.py CHANGED
@@ -21,6 +21,8 @@ def get_variables():
21
  allow_scheduler = data['allow_scheduler']
22
  #是否允许bili上传
23
  allow_submit = data['allow_submit']
 
 
24
 
25
  #设置manga保存路径
26
  manga_dir = data['manga_dir']
@@ -69,7 +71,8 @@ def get_variables():
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
 
 
21
  allow_scheduler = data['allow_scheduler']
22
  #是否允许bili上传
23
  allow_submit = data['allow_submit']
24
+ #默认删除章节片头和广告的配置
25
+ default_chapter_delete = data['default_chapter_delete']
26
 
27
  #设置manga保存路径
28
  manga_dir = data['manga_dir']
 
71
  "current_config_json":current_config_json,
72
  "current_dir":current_dir,
73
  "file_info": file_info,#这个在多个地方用到
74
+ "allow_submit":allow_submit,
75
+ "default_chapter_delete":default_chapter_delete
76
  }
77
 
78