Sfoglia il codice sorgente

[fix] integration scheduler events

version-14
Rushabh Mehta 8 anni fa
parent
commit
910e44fcba
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      frappe/utils/scheduler.py

+ 1
- 1
frappe/utils/scheduler.py Vedi File

@@ -164,7 +164,7 @@ def get_scheduler_events(event):
if not scheduler_events:
scheduler_events = frappe.get_hooks("scheduler_events")
integration_events = get_integration_service_events()
for key, handlers in integration_events:
for key, handlers in integration_events.items():
scheduler_events.setdefault(key, []).extend(handlers)
frappe.cache().set_value('scheduler_events', scheduler_events)



Caricamento…
Annulla
Salva