Fix directory called on _walk_directory

This commit is contained in:
Brandon Rising 2024-02-23 14:27:36 -05:00 committed by Brandon
parent a8c3efd98a
commit ff47334f22

View File

@ -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