Skip to content

Commit

Permalink
fix: type
Browse files Browse the repository at this point in the history
  • Loading branch information
marsninja committed Jul 19, 2024
1 parent a353799 commit f2d0a75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion support/plugins/streamlit/jac_streamlit/streamlit.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def streamlit(filename: str) -> None:
py_lines = [
"from jaclang import jac_import",
"from jaclang.plugin.feature import JacFeature as Jac",
f"Jac.context().init_memory(base_path='{dirname}')"
f"Jac.context().init_memory(base_path='{dirname}')",
f"(st_app,) = jac_import('{basename}', base_path='{dirname}')",
"if hasattr(st_app, 'main'):",
" st_app.main()",
Expand Down

0 comments on commit f2d0a75

Please sign in to comment.