From 46e3986020290043f79b964dbc2fc64beaa708ea Mon Sep 17 00:00:00 2001 From: DrStriky <51911775+DrStriky@users.noreply.github.com> Date: Wed, 9 Dec 2020 11:11:30 +0100 Subject: [PATCH] Update options.py comparing literal with is not --- gooey/gui/components/options/options.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gooey/gui/components/options/options.py b/gooey/gui/components/options/options.py index b1ce974..b994454 100644 --- a/gooey/gui/components/options/options.py +++ b/gooey/gui/components/options/options.py @@ -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}