Update index.py

This commit is contained in:
midoks
2022-11-21 22:57:40 +08:00
parent 724ccf507c
commit efc6a3dd83
+3
View File
@@ -2368,6 +2368,9 @@ if __name__ == "__main__":
if os.path.exists(version_pl):
version = mw.readFile(version_pl).strip()
if (len(sys.argv) > 2):
version = sys.argv[2]
if func == 'status':
print(status(version))
elif func == 'start':