Skip to content

Commit

Permalink
fixes #567 regression
Browse files Browse the repository at this point in the history
  • Loading branch information
WolfgangFahl committed Oct 19, 2022
1 parent 8b60b37 commit 674c842
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jpcore/demostarter.py
Expand Up @@ -32,9 +32,9 @@ def __init__(self, base_path:str=None,mode: str = None, debug: bool = False):
self.mode = mode
self.script_dir = os.path.dirname(__file__)
if base_path is None:
base_path=self.script_dir
base_path=os.path.dirname(self.script_dir)
self.justpy_dir = f"{base_path}/examples"
self.example_json_file=f"{os.path.dirname(base_path)}/tutorial/examples.json"
self.example_json_file=f"{base_path}/tutorial/examples.json"
if self.debug:
print(f"collecting examples from {self.justpy_dir}")
pymodule_files = find_files(self.justpy_dir, ".py")
Expand Down

0 comments on commit 674c842

Please sign in to comment.