From 00c97edbba58d19b0736741c23659381fa50342f Mon Sep 17 00:00:00 2001 From: Uche Ogbuji Date: Wed, 10 Apr 2019 23:31:06 -0600 Subject: [PATCH] Fix: properly consume coroutie --- lib/reader/marc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/reader/marc.py b/lib/reader/marc.py index f3a6c93..f0b0ef8 100644 --- a/lib/reader/marc.py +++ b/lib/reader/marc.py @@ -616,7 +616,7 @@ def record_handler( model, entbase=None, vocabbase=BL, limiting=None, #Each plug-in is a task func = plugin.get(BF_FINAL_TASK) if not func: continue - func() + yield from func() #raise return