Merge pull request #1555 from makeen/fix-scheduler-starus-command-doctor

fix scheduler status in command doctor
This commit is contained in:
Rushabh Mehta 2016-02-02 05:59:10 +05:30
commit 6a01a711bc

View file

@ -152,7 +152,7 @@ def doctor():
for site in frappe.utils.get_sites():
frappe.init(site)
frappe.connect()
if not is_scheduler_disabled():
if is_scheduler_disabled():
print "{0:40}: Scheduler disabled via System Settings or site_config.json".format(site)
frappe.destroy()