From 1e347dc8e931a3e7fadd78dbe6064e818bbc8b41 Mon Sep 17 00:00:00 2001 From: Anand Doshi Date: Wed, 24 Feb 2016 23:39:57 +0530 Subject: [PATCH] [fix] site sync queues - IncorrectSitePath --- frappe/tasks.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/frappe/tasks.py b/frappe/tasks.py index bc5c122403..e0e651ab0d 100644 --- a/frappe/tasks.py +++ b/frappe/tasks.py @@ -92,6 +92,10 @@ def is_site_in_maintenance_mode(queue, prefix): if not frappe.local.conf.db_name or frappe.local.conf.maintenance_mode or frappe.conf.disable_scheduler: # don't add site if in maintenance mode return True + + except frappe.IncorrectSitePath: + return True + finally: frappe.destroy()