添加2001 b_N上传方法

This commit is contained in:
pengtao 2019-10-15 15:40:55 +08:00
parent afcd600d2b
commit eac403c3ab

View File

@ -25,8 +25,8 @@ class Mp2shushu():
result = data['result']
begin = "b_n,b_n_china"
text = ""
for line in result:
text += ','.join(line) + '\n'
for key in result.keys():
text += f"{key},{result[key]}\n"
result_new = f"{begin}\n{text}"
except Exception:
log.error(f"split {data} failed!", exc_info=True)