diff --git a/工具v2/获取小闲平台使用数据new.py b/工具v2/获取小闲平台使用数据new.py index 11d3188a..adb606af 100644 --- a/工具v2/获取小闲平台使用数据new.py +++ b/工具v2/获取小闲平台使用数据new.py @@ -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"))