Explorar o código

goods_art_no_image_dir

rambo hai 8 meses
pai
achega
7cfc49d400
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      python/api.py

+ 1 - 1
python/api.py

@@ -132,7 +132,7 @@ def fromExcelHandler(params: HandlerDetail):
     if "商品货号" not in excel_df.columns:
         raise UnicornException("缺失 [商品货号] 列")
     for index, row in excel_df.iterrows():
-        goods_art_no_image_dir = row["文件夹名称"]
+        goods_art_no_image_dir = str(row["文件夹名称"])
         goods_art_no = row["商品货号"]
         try:
             if not goods_art_no: