Skip to content

Commit

Permalink
Update reflex/compiler/utils.py
Browse files Browse the repository at this point in the history
Co-authored-by: Masen Furer <[email protected]>
  • Loading branch information
Lendemor and masenf authored Dec 10, 2024
1 parent f2da5e8 commit dfe3a0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reflex/compiler/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit dfe3a0a

Please sign in to comment.