Update version numbers and fix invalid config handling

This commit is contained in:
shenjack 2024-01-07 20:00:41 +08:00
parent 3537cc9168
commit 84e16ef9af
Signed by: shenjack
GPG Key ID: 7B1134A979775551
4 changed files with 6 additions and 6 deletions

View File

@ -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)

View File

@ -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__ = [

View File

@ -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
)

View File

@ -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