Update version number to 0.3.16
This commit is contained in:
parent
a318ca62e8
commit
3957cf5a29
@ -6,7 +6,7 @@ A python lib came from [Difficult Rocket](https://github.com/shenjackyuanjie/Dif
|
||||
|
||||
## Information/信息
|
||||
|
||||
- Version / 版本: 0.3.15
|
||||
- Version / 版本: 0.3.16
|
||||
- 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.15"
|
||||
_version_ = "0.3.16"
|
||||
|
||||
# fmt: off
|
||||
__all__ = [
|
||||
|
@ -159,8 +159,9 @@ class Options:
|
||||
"""
|
||||
values = {}
|
||||
for ann in self.__annotations__: # 获取类型注释
|
||||
values[ann] = getattr(self, ann, None)
|
||||
if values[ann] is None:
|
||||
try:
|
||||
values[ann] = getattr(self, ann)
|
||||
except AttributeError:
|
||||
values[ann] = self.__annotations__[ann]
|
||||
|
||||
if not hasattr(self, "_options"):
|
||||
|
Loading…
Reference in New Issue
Block a user