From c1516edcc7b0940f12984662fc85af2fce974ad0 Mon Sep 17 00:00:00 2001 From: Anton Date: Fri, 29 May 2020 19:52:53 +0200 Subject: [PATCH] Fix app count --- app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.py b/app.py index ed90372..8a387d7 100644 --- a/app.py +++ b/app.py @@ -127,7 +127,7 @@ def uninstall(self): for i in self.installed_apps: if i.isChecked(): j += 1 - buttonReply = QMessageBox.question(ui, 'PyDebloatX', f"Uninstall {j} app{'s' if self.installed_apps > 1 else ''}?\n\n{self.total_size:.2f} MB of of disk space will be available.", QMessageBox.Yes | QMessageBox.No) + buttonReply = QMessageBox.question(ui, 'PyDebloatX', f"Uninstall {j} app{'s' if j > 1 else ''}?\n\n{self.total_size:.2f} MB of of disk space will be available.", QMessageBox.Yes | QMessageBox.No) if buttonReply == QMessageBox.Yes: for i in self.installed_apps: if i.isChecked():