Fixed relative paths AGAIN. Maybe I’m just dumb or something...

backup
LinuxMint4Ever 2019-08-07 17:26:13 +02:00
parent da57f69e59
commit f0041651d9
1 changed files with 1 additions and 4 deletions

View File

@ -108,10 +108,7 @@ def getToken(username, password):
return access_token, profile_id, username return access_token, profile_id, username
def deRelative(cwd, path): def deRelative(cwd, path):
if path[0]=='.': return os.path.join(cwd, path)
return os.path.join(cwd, path)
else:
return path
def run(java_executable, ram, alignTo, libs, username, gameDir, assets, uuid, accessToken): def run(java_executable, ram, alignTo, libs, username, gameDir, assets, uuid, accessToken):
cwd = os.getcwd() cwd = os.getcwd()