From f362797349b714defb0da82ba9583d2d9ad02be3 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Tue, 24 Nov 2020 11:51:00 +0800 Subject: [PATCH] bugfix --- kivyblocks/utils.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/kivyblocks/utils.py b/kivyblocks/utils.py index 3f87994..5ff7e82 100644 --- a/kivyblocks/utils.py +++ b/kivyblocks/utils.py @@ -94,14 +94,8 @@ def alert(text,title='alert'): alert_widget = Popup(content=bl, size_hint=(0.9,0.6)) alert_widget.msg_widget = msg alert_widget.msg_widget.text = str(text) - x='(%d,%d)mm' % screenPhysicalSize() - if isHandHold(): - x = x + ':hh' - alert_widget.title = str(title) + x + alert_widget.title = str(title) alert_widget.open() - print('************') - print_exc() - print('************') def StrConvert(s): if not s.startswith('py::'):