Skip to content

Commit 6ad9523

Browse files
committed
Allow to start from bin/
1 parent ccea554 commit 6ad9523

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

bin/m64py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ import os
2020
import sys
2121
import signal
2222

23-
if os.path.isdir(os.path.join(".", "src")) and os.path.isfile(
24-
os.path.join(".", "setup.py")):
25-
sys.path.insert(0, os.path.realpath("src"))
23+
if os.path.isdir(os.path.join("..", "src")) and os.path.isfile(
24+
os.path.join("..", "setup.py")):
25+
sys.path.insert(0, os.path.realpath(os.path.join("..", "src")))
2626

2727
try:
2828
from PyQt5.QtWidgets import QApplication

0 commit comments

Comments
 (0)