diff --git a/timer/test.py b/timer/test.py index 8ec9e36..0d911be 100644 --- a/timer/test.py +++ b/timer/test.py @@ -27,7 +27,7 @@ for order_id in order_id_list: for key,value in printdata.items(): #去掉cm key = key.replace('cm','') - key = int(key)*10 + key = float(key)*10 print(key) print(f'执行脚本--- "python D:/make2/tools/cal_weight.py print {pid} {key} {order_id}"') #发起计算请求