Commit 42c008c1 authored by Wolfgang Rohdewald's avatar Wolfgang Rohdewald
Browse files

MainWindow: avoid comparing None with float

parent 3466e3d4
......@@ -470,7 +470,7 @@ class MainWindow(KXmlGuiWindow):
if mainWindow:
if Debug.quit:
logDebug('aboutToQuit starting')
if mainWindow.exitWaitTime > 1000.0 or Debug.quit:
if mainWindow.exitWaitTime is not None and mainWindow.exitWaitTime > 1000.0 or Debug.quit:
logDebug(
'reactor stopped after %d ms' %
(mainWindow.exitWaitTime))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment