Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion reflex/assets.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def asset(
assert module is not None

external = constants.Dirs.EXTERNAL_APP_ASSETS
src_file_shared = Path(calling_file).parent / path
src_file_shared = Path(calling_file).parent / (Path(subfolder) / path if subfolder else path)
if not src_file_shared.exists():
msg = f"File not found: {src_file_shared}"
raise FileNotFoundError(msg)
Expand Down