Use 'is None' instead of '== None'
This commit is contained in:
parent
dd98c1ec51
commit
f46671a85f
6 changed files with 6 additions and 6 deletions
|
@ -288,7 +288,7 @@ class Engine(object):
|
|||
for module in self._modules:
|
||||
self._current_module = module
|
||||
module.update_wrapper(module.widgets())
|
||||
if module.error == None:
|
||||
if module.error is None:
|
||||
if module.minimized():
|
||||
widget = module.minimizedWidget()
|
||||
widget.link_module(module)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue