Update index.py

This commit is contained in:
Mr Chen 2024-06-26 18:46:31 +08:00
parent 80fe60211f
commit 44e4dfb0bd
1 changed files with 6 additions and 0 deletions

View File

@ -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')