Skip to content

Commit 7fc075f

Browse files
Update available_tools.py
Co-authored-by: Copilot <[email protected]>
1 parent c294e37 commit 7fc075f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

available_tools.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def get_tool(self, tooltype: AvailableToolType, toolname: str):
7575
if filetype != tooltype.value:
7676
raise FileTypeException(
7777
f'Error in {f}: expected filetype to be {tooltype}, but it\'s {filetype}.')
78-
if not tooltype in self.__yamlcache:
78+
if tooltype not in self.__yamlcache:
7979
self.__yamlcache[tooltype] = {}
8080
self.__yamlcache[tooltype][toolname] = y
8181
return y

0 commit comments

Comments
 (0)