rambo 11 tháng trước cách đây
mục cha
commit
ef8dda5cfb
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      python/services/deal_cutout.py

+ 2 - 1
python/services/deal_cutout.py

@@ -215,7 +215,8 @@ class DealModelForm:
         is_finished = False
         root_path = ""
         if len(generate_ids) > 0:
-            root_path = generate_ids.loc[0]["root_path"]
+            print("generate_ids",generate_ids)
+            root_path = generate_ids.iloc[0]["root_path"]
             save_path = f"{root_path}/已扣图"
             check_path(save_path)
         else: