Commit 8b34e230 authored by rico.liu's avatar rico.liu

add type converters str(row['subtitle'])

parent 0763ba2e
......@@ -303,7 +303,7 @@ def upload_params_data(category,path):
for subtitle in subtitle_list:
value = row[subtitle].strip()
value = str(row[subtitle]).strip()
subtitleid = subtitle_id_dict[subtitle]
subtitle_type = subtitle_type_dict[subtitle]
......@@ -396,7 +396,7 @@ def upload_params_data(category,path):
print(f"{category_name}参数数据更新完成,命名完成")
category_name = '复印纸'
path = '/Users/rico/Work Space/1_Project/Company/中电中采/数据处理项目_重点类信息提取/复印纸修改0329.xlsx'
category_name = '激光打印机'
path = '/Users/rico/Downloads/2 汪伟(校验通过)激光打印机参数确认.xlsx'
upload_params_data(category_name,path)
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment