Skip to content

Commit

Permalink
Add check for updates and follow PEP 8 Style
Browse files Browse the repository at this point in the history
  • Loading branch information
adib-yg authored Oct 15, 2023
1 parent b3934ab commit 1079e14
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,8 @@ def on_clicked_button_refresh(self):
self.pushButtonRefresh.setEnabled(False)

self.timer = QtCore.QTimer()
self.timer.timeout.connect(lambda: self.pushButtonRefresh.setEnabled(True))
self.timer.timeout.connect(
lambda: self.pushButtonRefresh.setEnabled(True))
self.timer.start(30000)

self.tableWidget.setRowCount(0) # Remove all rows
Expand Down

0 comments on commit 1079e14

Please sign in to comment.