Fixed an issue in the update check causing a wrong indication (was always true). eric7

Sun, 10 Apr 2022 12:50:18 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 10 Apr 2022 12:50:18 +0200
branch
eric7
changeset 9020
3d87cd80cd45
parent 9019
a104d4e882cb
child 9021
62d6f565f740

Fixed an issue in the update check causing a wrong indication (was always true).

eric7/UI/UserInterface.py file | annotate | diff | comparison | revisions
--- a/eric7/UI/UserInterface.py	Thu Apr 07 18:36:12 2022 +0200
+++ b/eric7/UI/UserInterface.py	Sun Apr 10 12:50:18 2022 +0200
@@ -7589,8 +7589,9 @@
             availableVersions = (
                 self.pipInterface.getPackageVersions("eric-ide")
             )
-            updateAvailable = bool(v for v in availableVersions
-                                   if v > VersionOnly)
+            updateAvailable = bool(
+                [v for v in availableVersions if v > VersionOnly]
+            )
             if updateAvailable:
                 EricMessageBox.information(
                     self,

eric ide

mercurial