mirror of
https://github.com/Skeli789/Dynamic-Pokemon-Expansion.git
synced 2026-09-09 10:35:41 -05:00
Fix Tutor Compatability Issue
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
import os
|
||||
import shutil
|
||||
import sys
|
||||
|
||||
############
|
||||
#Options go here.
|
||||
@@ -74,9 +75,12 @@ def EditInsert(offset: int):
|
||||
|
||||
def BuildCode():
|
||||
if shutil.which('python3') is not None:
|
||||
os.system("python3 scripts/build.py")
|
||||
result = os.system("python3 scripts/build.py")
|
||||
else:
|
||||
os.system("python scripts/build.py")
|
||||
result = os.system("python scripts/build.py")
|
||||
|
||||
if result != 0: # Build wasn't sucessful
|
||||
sys.exit(1)
|
||||
|
||||
|
||||
def InsertCode():
|
||||
|
||||
Reference in New Issue
Block a user