From 760167e2d90891cb5e40fb0616ebe0df11f169ad Mon Sep 17 00:00:00 2001 From: Aly Badr Date: Thu, 13 Aug 2020 14:48:54 +0200 Subject: [PATCH] patron: fix missing configuration for patron subscriptions In a deployed environment, celery scheduler is unable to locate the method task_clear_and_renew_subscriptions which is used to clear patron subscriptions. This is due to the fact that task_clear_and_renew_subscriptions is configured in config.py and its path not present in setup.py * close #1158 Co-Authored-by: Aly Badr --- setup.py | 1 + 1 file changed, 1 insertion(+) diff --git a/setup.py b/setup.py index 8da81f79ab..6ea2cda5b5 100644 --- a/setup.py +++ b/setup.py @@ -276,6 +276,7 @@ def run(self): 'ebooks = rero_ils.modules.ebooks.tasks', 'apiharvester = rero_ils.modules.apiharvester.tasks', 'notifications = rero_ils.modules.notifications.tasks', + 'patrons = rero_ils.modules.patrons.tasks', ], 'invenio_records.jsonresolver': [ 'organisations = rero_ils.modules.organisations.jsonresolver',