修改一个获取小闲数据的严重错误
This commit is contained in:
parent
c1aed67a8a
commit
1189663cfc
|
|
@ -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"))
|
||||
|
|
|
|||
Reference in New Issue