mirror of
https://gh-proxy.org/https://github.com/klinsmaya/SQLBot.git
synced 2026-11-08 09:17:06 +08:00
fix: Error occurs when re-uploading after the license expires
This commit is contained in:
committed by
fit2cloud-chenyw
parent
2f4042edd6
commit
1669ba3ed1
@@ -37,6 +37,8 @@ def custom_key_builder(
|
||||
|
||||
# 支持属性路径格式
|
||||
parts = keyExpression.split('.')
|
||||
if not bound_args.arguments.get(parts[0]):
|
||||
return f"{base_key}{parts[0]}"
|
||||
value = bound_args.arguments[parts[0]]
|
||||
for part in parts[1:]:
|
||||
value = getattr(value, part)
|
||||
|
||||
Reference in New Issue
Block a user