1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-11 23:18:22 +08:00

Merge branch 'master' into dev

This commit is contained in:
LmeSzinc
2022-03-06 19:28:06 +08:00
14 changed files with 205 additions and 43 deletions

View File

@@ -14,7 +14,7 @@ def del_cached_property(obj, name):
obj:
name (str):
"""
if hasattr(obj, name):
if name in obj.__dict__:
del obj.__dict__[name]