Super Metroid: fix some file paths

This commit is contained in:
Fabian Dill
2021-11-14 05:27:03 +01:00
parent 2ffa0d0e7f
commit 4cd9711de3
2 changed files with 3 additions and 2 deletions

View File

@@ -1,6 +1,7 @@
from logic.smbool import SMBool
import os
import sys
from pathlib import Path
# the different difficulties available
easy = 1
@@ -60,7 +61,7 @@ def diff4solver(difficulty):
return "mania"
# allow multiple local repo
appDir = sys.path[0]
appDir = Path(__file__).parents[4]
def isKnows(knows):
return knows[0:len('__')] != '__' and knows[0] == knows[0].upper()