修改一个获取小闲数据的严重错误

This commit is contained in:
wangweiye7840 2024-03-21 17:59:47 +08:00
parent c1aed67a8a
commit 1189663cfc
1 changed files with 1 additions and 1 deletions

View File

@ -102,7 +102,7 @@ class MyWindow(QWidget,Ui_Form):
for row in self.using_rows:
date = self.tableWidget.item(row,2).text()
threshold = float(self.lineEdit_threshold.text())
output = self.generateUsingInfo(zipfilepath=self.tableWidget.item(0,0).text(),threshold=threshold,date=date)
output = self.generateUsingInfo(zipfilepath=self.tableWidget.item(row,0).text(),threshold=threshold,date=date)
if output == 1 or CheckUsagesValidity(output) != 0:
for i in range(3):
self.tableWidget.item(row,i).setBackground(QColor("red"))