Update index.py
This commit is contained in:
parent
7b5d9bb3c1
commit
d078b285a2
|
|
@ -564,11 +564,11 @@ def installPreInspection():
|
|||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
||||
version = '1.27.1'
|
||||
version_pl = getServerDir() + "/version.pl"
|
||||
if not os.path.exists(version_pl):
|
||||
print('error')
|
||||
exit(-1)
|
||||
version = mw.readFile(version_pl)
|
||||
if os.path.exists(version_pl):
|
||||
version = mw.readFile(version_pl)
|
||||
|
||||
|
||||
func = sys.argv[1]
|
||||
|
|
|
|||
Loading…
Reference in New Issue