Update index.py

This commit is contained in:
midoks 2022-12-17 20:02:27 +08:00
parent cda1ea93a8
commit cf944fb976
1 changed files with 1 additions and 1 deletions

View File

@ -255,7 +255,7 @@ if __name__ == "__main__":
print(deleteDir())
elif func == 'delete_file':
print(deleteFile())
elif in_array(func, ['site', 'database', 'path']) and func.find('database_') > -1:
elif in_array(func, ['site', 'database', 'path']) or func.find('database_') > -1:
print(backupAllFunc(func))
else:
print('error')