Use 'is False' instead of '== False'
This commit is contained in:
parent
f46671a85f
commit
62f79beb90
3 changed files with 4 additions and 4 deletions
|
@ -150,7 +150,7 @@ class Module(bumblebee.engine.Module):
|
|||
band=bytefmt(nread)))
|
||||
|
||||
for widget in widgets:
|
||||
if widget.get("visited") == False:
|
||||
if widget.get("visited") is False:
|
||||
widgets.remove(widget)
|
||||
|
||||
@staticmethod
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue