From 602bf6bacaa0d0f6f57845c37498c229ff35aa3c Mon Sep 17 00:00:00 2001 From: yumoqing Date: Thu, 22 Jul 2021 11:59:55 +0800 Subject: [PATCH] bugfix --- kivyblocks/blocks.py | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/kivyblocks/blocks.py b/kivyblocks/blocks.py index a852a97..70e7bd1 100755 --- a/kivyblocks/blocks.py +++ b/kivyblocks/blocks.py @@ -617,7 +617,6 @@ class Blocks(EventDispatcher): widget = self.w_build(desc) self.dispatch('on_built',widget) if hasattr(widget,'ready'): - print('##widget has ready .........') widget.ready = True return widget except Exception as e: @@ -648,16 +647,6 @@ class Blocks(EventDispatcher): if opts.get('url'): del opts['url'] rtdesc = self.build_rtdesc(opts) - """ - rtdesc = opts.get('rtdata') - if not rtdesc: - if opts.get('datatarget'): - rtdesc = {} - rtdesc['target'] = opts['datatarget'] - rtdesc['method'] = opts.get('datamethod', 'getValue') - rtdesc['args'] = opts.get('dataargs', []) - rtdesc['kwargs'] = opts.get('datakwargs', {}) - """ if rtdesc: rtdata = self.get_rtdata(None, rtdesc) params = opts.get('params', {})