rogerxavier commited on
Commit
51553a7
1 Parent(s): 325af3f

Update utils.py

Browse files
Files changed (1) hide show
  1. utils.py +4 -0
utils.py CHANGED
@@ -241,6 +241,10 @@ def process_task_list(input_task_str:str = None,baseUrl:str =None):
241
  print("上传了章节:",cur_chapter_path,"下面提交后删除")
242
  manga_has_uploaded = True
243
  #执行了这个任务就要删除该章节
 
 
 
 
244
 
245
  if "bili_meta" in task_param:
246
  bili_meta_data["title"] = chapter_title
 
241
  print("上传了章节:",cur_chapter_path,"下面提交后删除")
242
  manga_has_uploaded = True
243
  #执行了这个任务就要删除该章节
244
+ if "allow_submit" in task_param:
245
+ #采用config.json中的是否允许上传
246
+ task_param["allow_submit"] = configData.data['allow_submit']
247
+ print("当前是否允许上传bili:",configData.data['allow_submit'])
248
 
249
  if "bili_meta" in task_param:
250
  bili_meta_data["title"] = chapter_title