From 164aa1eb8361e92ce7211f83d7233ebc3e119365 Mon Sep 17 00:00:00 2001 From: Miguel Jacq Date: Mon, 24 Nov 2025 15:36:14 +1100 Subject: [PATCH] Undo statistics dialog tweak and just add more height.. Fix exception handling in version check --- bouquin/statistics_dialog.py | 2 +- bouquin/version_check.py | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bouquin/statistics_dialog.py b/bouquin/statistics_dialog.py index f6898e0..659f79f 100644 --- a/bouquin/statistics_dialog.py +++ b/bouquin/statistics_dialog.py @@ -249,7 +249,7 @@ class StatisticsDialog(QDialog): self.setWindowTitle(strings._("statistics")) self.setMinimumWidth(600) - self.setMinimumHeight(350) + self.setMinimumHeight(400) root = QVBoxLayout(self) ( diff --git a/bouquin/version_check.py b/bouquin/version_check.py index afbc409..a57e125 100644 --- a/bouquin/version_check.py +++ b/bouquin/version_check.py @@ -144,7 +144,7 @@ class VersionChecker: QMessageBox.warning( self._parent, strings._("update"), - strings._("could_not_check_for_updates") + e, + strings._("could_not_check_for_updates") + str(e), ) return @@ -320,7 +320,7 @@ class VersionChecker: QMessageBox.critical( self._parent, strings._("update"), - strings._("failed_to_download_update") + e, + strings._("failed_to_download_update") + str(e), ) return @@ -334,7 +334,7 @@ class VersionChecker: QMessageBox.critical( self._parent, strings._("update"), - strings._("could_not_read_bundled_gpg_public_key") + e, + strings._("could_not_read_bundled_gpg_public_key") + str(e), ) # On failure, delete the downloaded files for safety for p in (appimage_path, sig_path):