This commit is contained in:
yumoqing 2020-11-24 11:51:00 +08:00
parent fc01b5ce26
commit f362797349

View File

@ -94,14 +94,8 @@ def alert(text,title='alert'):
alert_widget = Popup(content=bl, size_hint=(0.9,0.6)) alert_widget = Popup(content=bl, size_hint=(0.9,0.6))
alert_widget.msg_widget = msg alert_widget.msg_widget = msg
alert_widget.msg_widget.text = str(text) alert_widget.msg_widget.text = str(text)
x='(%d,%d)mm' % screenPhysicalSize() alert_widget.title = str(title)
if isHandHold():
x = x + ':hh'
alert_widget.title = str(title) + x
alert_widget.open() alert_widget.open()
print('************')
print_exc()
print('************')
def StrConvert(s): def StrConvert(s):
if not s.startswith('py::'): if not s.startswith('py::'):