mirror of
https://gitee.com/zlgopen/awtk.git
synced 2024-11-29 10:38:47 +08:00
improve build scripts
This commit is contained in:
parent
31b1323109
commit
6efe9f8213
@ -1,8 +1,11 @@
|
||||
# 最新动态
|
||||
|
||||
2024/01/09
|
||||
* 完善utils.py,兼容Python2.7(感谢雨欣提供补丁)
|
||||
|
||||
2024/01/08
|
||||
* 完善编译脚本,修改打印信息(感谢智明提供补丁)
|
||||
|
||||
|
||||
2024/01/05
|
||||
* 编译脚本scons 版本不一致判断函数漏改问题(感谢高源提供补丁)。
|
||||
* 修复popup菜单关闭过程中弹出模态对话框触发断言的问题(感谢雨欣提供补丁)
|
||||
|
@ -1,5 +1,6 @@
|
||||
def strtobool(value: str) -> bool:
|
||||
value = value.lower()
|
||||
if value in ("y", "yes", "on", "1", "true", "t"):
|
||||
return True
|
||||
def strtobool(value):
|
||||
if(isinstance(value, str)):
|
||||
value = value.lower()
|
||||
if value in ("y", "yes", "on", "1", "true", "t"):
|
||||
return True
|
||||
return False
|
||||
|
Loading…
Reference in New Issue
Block a user