mirror of
https://gitee.com/zlgopen/awtk.git
synced 2024-12-01 19:49:11 +08:00
improve build scripts
This commit is contained in:
parent
31b1323109
commit
6efe9f8213
@ -1,5 +1,8 @@
|
||||
# 最新动态
|
||||
|
||||
2024/01/09
|
||||
* 完善utils.py,兼容Python2.7(感谢雨欣提供补丁)
|
||||
|
||||
2024/01/08
|
||||
* 完善编译脚本,修改打印信息(感谢智明提供补丁)
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
def strtobool(value: str) -> bool:
|
||||
def strtobool(value):
|
||||
if(isinstance(value, str)):
|
||||
value = value.lower()
|
||||
if value in ("y", "yes", "on", "1", "true", "t"):
|
||||
return True
|
||||
|
Loading…
Reference in New Issue
Block a user