Skip to content

Commit

Permalink
Change path for calculator example.
Browse files Browse the repository at this point in the history
  • Loading branch information
don4get committed Nov 20, 2022
1 parent 90ac05e commit 880bc84
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion nodedge/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ def main():

window = MdiWindow()
window.show()
window.openFile(f"{os.path.dirname(__file__)}/examples/calculator/calculator.json")
window.openFile(
f"{os.path.dirname(__file__)}/../examples/calculator/calculator.json"
)
try:
sys.exit(app.exec())
except Exception as e:
Expand Down

0 comments on commit 880bc84

Please sign in to comment.