From 942bf922d27abe69c1942c656c8644205ebfb3cc Mon Sep 17 00:00:00 2001 From: yumoqing Date: Mon, 10 Aug 2020 21:14:30 +0800 Subject: [PATCH] bugfix --- kivyblocks/blocks.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/kivyblocks/blocks.py b/kivyblocks/blocks.py index dfdc4a3..6e71e44 100755 --- a/kivyblocks/blocks.py +++ b/kivyblocks/blocks.py @@ -402,6 +402,10 @@ class Blocks(EventDispatcher): rf = RegistedFunction() name = desc.get('rfname') func = rf.get(name) + if func is None: + print('rfname(%s) not found' % name,rf.registKW) + raise Exception('rfname(%s) not found' % name) + params = desc.get('params',{}) d = self.getActionData(widget,desc) params.update(d)