We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
app.py
1 parent afa9da3 commit 4a7dc8dCopy full SHA for 4a7dc8d
shiny/_app.py
@@ -153,7 +153,7 @@ def __init__(
153
raise ValueError(
154
f'static_assets must be an absolute path: "{static_asset_path}".'
155
" Consider using one of the following instead:\n"
156
- f' os.path.join(__file__, "{static_asset_path}") OR'
+ f' os.path.join(os.path.dirname(__file__), "{static_asset_path}") OR'
157
f' pathlib.Path(__file__).parent/"{static_asset_path}"'
158
)
159
0 commit comments