From dfe3a0a1ecf06793f4187a564fbe72219c8a6822 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Brand=C3=A9ho?= Date: Tue, 10 Dec 2024 19:42:47 +0100 Subject: [PATCH] Update reflex/compiler/utils.py Co-authored-by: Masen Furer --- reflex/compiler/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reflex/compiler/utils.py b/reflex/compiler/utils.py index ccc8d0b9e..efccd1fca 100644 --- a/reflex/compiler/utils.py +++ b/reflex/compiler/utils.py @@ -123,7 +123,7 @@ def compile_imports(import_dict: ParsedImportDict) -> list[dict]: raise ValueError("No default field allowed for empty library.") if rest is None or len(rest) == 0: raise ValueError("No fields to import.") - import_dicts.extend([get_import_dict(module) for module in sorted(rest)]) + import_dicts.extend(get_import_dict(module) for module in sorted(rest)) continue # remove the version before rendering the package imports