minor code fix: remove duplicate type check branch (#22536)

This commit is contained in:
NeatGuyCoding
2025-07-17 13:20:31 +08:00
committed by GitHub
parent e4ae1e2b94
commit c3037c5491
3 changed files with 1 additions and 4 deletions

View File

@@ -152,7 +152,6 @@ class VariablePool(BaseModel):
self.variable_dictionary[selector[0]] = {}
return
key, hash_key = self._selector_to_keys(selector)
hash_key = hash(tuple(selector[1:]))
self.variable_dictionary[key].pop(hash_key, None)
def convert_template(self, template: str, /):