Skip to content

Commit 3e48c60

Browse files
committed
Fix package_dir function name
1 parent 56c8334 commit 3e48c60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

shinywidgets/_shinywidgets.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ def init_shiny_widget(w: Widget):
120120
# under the publicPath set by the webpack.config.js file.
121121
session.app._dependency_handler.mount(
122122
"/dist/",
123-
StaticFiles(directory=os.path.join(_package_dir("shinywidgets"), "static")),
123+
StaticFiles(directory=os.path.join(package_dir("shinywidgets"), "static")),
124124
name="shinywidgets-static-resources",
125125
)
126126

0 commit comments

Comments
 (0)