diff --git a/source/gui/installerGui.py b/source/gui/installerGui.py index df57c1edc80..f8826b345cb 100644 --- a/source/gui/installerGui.py +++ b/source/gui/installerGui.py @@ -260,7 +260,7 @@ def __init__(self): def showInstallGui(): gui.mainFrame.prePopup() previous = installer.comparePreviousInstall() - if previous > 0: + if previous is not None and previous > 0: # The existing installation is newer, which means this will be a downgrade. d = InstallingOverNewerVersionDialog() with d: