fixed indentation error
This commit is contained in:
parent
f818ae6c4a
commit
ebe15c51d1
2
Main.py
2
Main.py
@ -41,7 +41,7 @@ def main():
|
|||||||
time.sleep(5)
|
time.sleep(5)
|
||||||
if os.path.exists(prism_instance_path+"/"+instance_name+"/.minecraft/version.txt"):
|
if os.path.exists(prism_instance_path+"/"+instance_name+"/.minecraft/version.txt"):
|
||||||
with open(prism_instance_path+"/"+instance_name+"/.minecraft/version.txt", 'r') as fp:
|
with open(prism_instance_path+"/"+instance_name+"/.minecraft/version.txt", 'r') as fp:
|
||||||
version = fp.readline().rstrip()
|
version = fp.readline().rstrip()
|
||||||
if version == versions[len(versions)-1]["Version"]:
|
if version == versions[len(versions)-1]["Version"]:
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user