Skip to content

Commit

Permalink
Fix directory called on _walk_directory
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonrising committed Feb 23, 2024
1 parent 757820b commit 884db30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion invokeai/backend/model_manager/search.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ def search(self, directory: Union[Path, str]) -> Set[Path]:
self._directory = self.config.models_path / self._directory
self.stats = SearchStats() # zero out
self.search_started() # This will initialize _models_found to empty
self._walk_directory(directory)
self._walk_directory(self._directory)
self.search_completed()
return self.models_found

Expand Down

0 comments on commit 884db30

Please sign in to comment.