1
0
Fork 0
mirror of synced 2024-06-09 22:24:40 +12:00

Fix crash upon opening game info while verifying

This commit is contained in:
MultisampledNight 2022-02-26 14:46:04 +01:00
parent 6d356daf1c
commit 9796175826
No known key found for this signature in database
GPG key ID: 02B1BAF6A675FF9B

View file

@ -199,7 +199,7 @@ class GameInfo(QWidget, Ui_GameInfo):
elif self.verify_threads.get(self.game.app_name):
self.verify_widget.setCurrentIndex(1)
self.verify_progress.setValue(
self.verify_threads[self.game.app_name].num
/ self.verify_threads[self.game.app_name].total
* 100
int(self.verify_threads[self.game.app_name].num
/ self.verify_threads[self.game.app_name].total
* 100)
)