correct typos
This commit is contained in:
parent
98c1324af0
commit
d542397870
@ -177,10 +177,10 @@ elif platform.system() == "Windows":
|
||||
os.chdir("AppData/Roaming/.minecraft")
|
||||
except:
|
||||
print("[ERR!] Fatal: Minecraft directory not found. (Is Minecraft installed?)")
|
||||
print("[ERR!] Fatal: This window will close in 10 seconds.")
|
||||
print("[ERR!] Fatal: This window will close in 10 seconds...")
|
||||
print
|
||||
time.sleep(10)
|
||||
pass
|
||||
exit
|
||||
|
||||
mcfolder = str(Path.cwd())
|
||||
print("[INFO]: Changed current working directory to '" + str(mcfolder) + "'")
|
||||
@ -192,7 +192,7 @@ elif platform.system() == "Windows":
|
||||
modfolder = str(mcfolder) + '/mods'
|
||||
compress_tar(mcfolder, "backup.tar.gz")
|
||||
|
||||
os.chdir(mcfolder)
|
||||
os.chdir(mcfolder)
|
||||
time.sleep(2)
|
||||
# unclear if this timeout is necessary for UX
|
||||
|
||||
@ -200,7 +200,6 @@ time.sleep(2)
|
||||
delete_file("mods.tar.gz")
|
||||
delete_directory("mods")
|
||||
print("Deleting mod folder contents...")
|
||||
#shut up
|
||||
os.mkdir(str("mods"))
|
||||
|
||||
# download mod archive from git repo and extract
|
||||
|
Loading…
x
Reference in New Issue
Block a user