mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-10 04:19:26 +08:00
Update crontab_api.py
This commit is contained in:
@@ -411,7 +411,7 @@ class crontab_api:
|
||||
data = {}
|
||||
data['orderOpt'] = bak_data
|
||||
|
||||
if stype == 'sites' or stype == 'logs':
|
||||
if stype == 'site' or stype == 'logs':
|
||||
stype == 'sites'
|
||||
|
||||
data['data'] = mw.M(stype).field('name,ps').select()
|
||||
|
||||
Reference in New Issue
Block a user