summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--__main__.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/__main__.py b/__main__.py
index 4a91b1e..c8fa693 100644
--- a/__main__.py
+++ b/__main__.py
@@ -1,3 +1,6 @@
""" __main__.py - Käynnistellään ohjelma src/miinaharava kansiosta """
from runpy import run_path
-run_path("src/miinaharava", run_name="miinaharava")
+from pathlib import Path
+
+my_path = Path(__file__).parent.resolve()
+run_path(f"{my_path}/src/miinaharava", run_name="miinaharava")