Skip to content

Commit

Permalink
Update version numbers and fix invalid config handling
Browse files Browse the repository at this point in the history
  • Loading branch information
shenjackyuanjie committed Jan 7, 2024
1 parent 3537cc9 commit 84e16ef
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion src/lib_not_dr/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
if TYPE_CHECKING:
from lib_not_dr import loggers, nuitka, types, command

_version_ = "0.3.17"
_version_ = "0.3.18"

# fmt: off
__all__ = [
Expand Down
3 changes: 1 addition & 2 deletions src/lib_not_dr/nuitka/reader/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,7 @@
"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
)


Expand Down
5 changes: 3 additions & 2 deletions src/lib_not_dr/nuitka/reader/arg_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,8 +183,9 @@ def parse_value(arg_name, arg_value) -> list:
# 处理混杂的情况
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

Expand Down

0 comments on commit 84e16ef

Please sign in to comment.