mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
Fix directory called on _walk_directory
This commit is contained in:
parent
a8c3efd98a
commit
ff47334f22
@ -141,7 +141,7 @@ class ModelSearch(ModelSearchBase):
|
|||||||
self._directory = self.config.models_path / self._directory
|
self._directory = self.config.models_path / self._directory
|
||||||
self.stats = SearchStats() # zero out
|
self.stats = SearchStats() # zero out
|
||||||
self.search_started() # This will initialize _models_found to empty
|
self.search_started() # This will initialize _models_found to empty
|
||||||
self._walk_directory(directory)
|
self._walk_directory(self._directory)
|
||||||
self.search_completed()
|
self.search_completed()
|
||||||
return self.models_found
|
return self.models_found
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user