From 1f0eb18a1763b2bfbca21c52aad965014f3dfd7c Mon Sep 17 00:00:00 2001 From: Benedikt Bartscher Date: Sun, 20 Oct 2024 18:08:40 +0200 Subject: [PATCH] make ruff happy --- reflex/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reflex/config.py b/reflex/config.py index c1baed99c..21ca1970c 100644 --- a/reflex/config.py +++ b/reflex/config.py @@ -300,7 +300,7 @@ class Config(Base): # Convert the env var to the expected type. try: - if field.type_ == bool or ( + if field.type_ is bool or ( issubclass(field.type_, type) and issubclass(field.type_, bool) ): # special handling for bool values