bugfix
This commit is contained in:
parent
fc01b5ce26
commit
f362797349
@ -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::'):
|
||||||
|
Loading…
Reference in New Issue
Block a user