rogerxavier commited on
Commit
4baffa7
1 Parent(s): be43bb0

Update api.py

Browse files
Files changed (1) hide show
  1. api.py +2 -0
api.py CHANGED
@@ -108,6 +108,8 @@ async def execute_all_task(background_tasks: BackgroundTasks, bili_meta_data,fil
108
  allow_submit: bool = False, cover_path: str = '/cover'
109
  ):
110
  print("获取到的用户bili_meta_data是:", bili_meta_data)
 
 
111
  print("获取到的file_list是",file_list)
112
  print("获取到的allow_submit是",allow_submit)
113
 
 
108
  allow_submit: bool = False, cover_path: str = '/cover'
109
  ):
110
  print("获取到的用户bili_meta_data是:", bili_meta_data)
111
+ #这里需要先转换bili_meta_data从str变成dict才能继续
112
+ bili_meta_data = json.loads(bili_meta_data)
113
  print("获取到的file_list是",file_list)
114
  print("获取到的allow_submit是",allow_submit)
115