From 8df5f0cff9ef014675761da1db666b41e1b76e6e Mon Sep 17 00:00:00 2001 From: yumoqing Date: Mon, 7 Jun 2021 10:02:01 +0800 Subject: [PATCH] bugfix --- kivyblocks/blocks.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/kivyblocks/blocks.py b/kivyblocks/blocks.py index 9c81318..266160e 100755 --- a/kivyblocks/blocks.py +++ b/kivyblocks/blocks.py @@ -482,10 +482,6 @@ class Blocks(EventDispatcher): def registedfunctionAction(self, widget, desc, *args): target = Blocks.getWidgetById(desc.get('target','self'), from_widget=widget) - if target is None: - Logger.info('Block: registedfunctionAction():desc(%s) target not found', - str(desc)) - return rf = RegisterFunction() name = desc.get('rfname') func = rf.get(name) @@ -508,9 +504,6 @@ class Blocks(EventDispatcher): return target = Blocks.getWidgetById(desc.get('target','self'), from_widget=widget) - if target is None: - Logger.info('Block: scriptAction():desc(%s) target not found', - str(desc)) d = self.getActionData(widget,desc) ns = { "self":target,