mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-10 06:39:25 +08:00
Update index.py
This commit is contained in:
@@ -253,6 +253,10 @@ def cleanLog():
|
||||
cleanDirLog(abspath)
|
||||
continue
|
||||
|
||||
def updateAll():
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
func = sys.argv[1]
|
||||
if func == 'status':
|
||||
@@ -273,5 +277,7 @@ if __name__ == "__main__":
|
||||
cleanLog()
|
||||
elif func == 'clean_run':
|
||||
print(cleanRun())
|
||||
elif func == 'update_all':
|
||||
print(updateAll())
|
||||
else:
|
||||
print('error')
|
||||
|
||||
Reference in New Issue
Block a user