Closed jeffwidman closed 1 year ago
The '' arg specifies a custom default value if the key isn't found. However, the default of None works fine for boolean testing:
''
None
>>> 'gzip' in [None] False
I missed this when I originally reviewed https://github.com/pallets-eco/flask-debugtoolbar/pull/154.
The
''
arg specifies a custom default value if the key isn't found. However, the default ofNone
works fine for boolean testing:I missed this when I originally reviewed https://github.com/pallets-eco/flask-debugtoolbar/pull/154.