Update version numbers and fix invalid config handling
This commit is contained in:
parent
3537cc9168
commit
84e16ef9af
@ -6,7 +6,7 @@ A python lib came from [Difficult Rocket](https://github.com/shenjackyuanjie/Dif
|
||||
|
||||
## Information/信息
|
||||
|
||||
- Version / 版本: 0.3.17
|
||||
- Version / 版本: 0.3.18
|
||||
- Author / 作者: shenjackyuanjie <3695888@qq.com>
|
||||
|
||||
[shenjackyuanjie](https://github.com/shenjackyuanjie)
|
||||
|
@ -9,7 +9,7 @@ from typing import TYPE_CHECKING
|
||||
if TYPE_CHECKING:
|
||||
from lib_not_dr import loggers, nuitka, types, command
|
||||
|
||||
_version_ = "0.3.17"
|
||||
_version_ = "0.3.18"
|
||||
|
||||
# fmt: off
|
||||
__all__ = [
|
||||
|
@ -65,8 +65,7 @@ TOML_READERS = (
|
||||
"tomli", # pure python toml reader
|
||||
"pytomlpp", # cpp based toml reader
|
||||
"qtoml", # pure python toml reader, but faster than toml
|
||||
# "tomlkit", # pure python toml reader
|
||||
# tomlkit 需要特殊处理, 先不用了
|
||||
"tomlkit", # pure python toml reader with style
|
||||
)
|
||||
|
||||
|
||||
|
@ -183,8 +183,9 @@ def gen_subprocess_args(
|
||||
# 处理混杂的情况
|
||||
for item in value:
|
||||
cmd_list += parse_value(name, item)
|
||||
continue
|
||||
warn(f"invalid config {name}:{value}")
|
||||
continue
|
||||
else:
|
||||
warn(f"invalid config {name}:{value}")
|
||||
|
||||
return cmd_list
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user