Skip to content

Commit

Permalink
Update options.py
Browse files Browse the repository at this point in the history
comparing literal with is not
  • Loading branch information
DrStriky authored and chriskiehl committed Dec 20, 2020
1 parent 22fefd9 commit 46e3986
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gooey/gui/components/options/options.py
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,6 @@ def ArgumentGroup(show_border=False,

def _clean(options):
cleaned = {k: v for k, v in options.items()
if v is not None and k is not "layout_options"}
if v is not None and k != "layout_options"}
return {**options.get('layout_options', {}), **cleaned}

0 comments on commit 46e3986

Please sign in to comment.