Skip to content
Snippets Groups Projects
Commit 8194eb40 authored by dos's avatar dos Committed by ave
Browse files

py,st3m: run_app: Allow to pass a bundle_path

Makes is easier to handle mpremote run.
parent 79ede81f
No related branches found
No related tags found
No related merge requests found
...@@ -132,8 +132,8 @@ def run_view(v: View, debug_vm=True) -> None: ...@@ -132,8 +132,8 @@ def run_view(v: View, debug_vm=True) -> None:
reactor.run() reactor.run()
def run_app(klass): def run_app(klass, bundle_path=None):
run_view(klass(ApplicationContext()), debug_vm=True) run_view(klass(ApplicationContext(bundle_path)), debug_vm=True)
def _yeet_local_changes() -> None: def _yeet_local_changes() -> None:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment