mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
Update index.py
This commit is contained in:
@@ -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':
|
||||
|
||||
Reference in New Issue
Block a user