fix/reindex_before_collection #21

Merged
Hazel merged 32 commits from fix/reindex_before_collection into experimental 2024-05-06 17:36:28 +00:00
2 changed files with 5 additions and 2 deletions
Showing only changes of commit 6805d1cbe6 - Show all commits

View File

@ -6,8 +6,8 @@ logging.getLogger().setLevel(logging.DEBUG)
if __name__ == "__main__":
commands = [
"s: #a Crystal F",
"d: 20"
"s: #a Psychonaut 4",
"d: 0"
]

View File

@ -122,6 +122,9 @@ class SourceCollection:
yield from self._page_to_source_list[page]
def append(self, source: Source):
if source is None:
return
existing_source = None
for key in source.indexing_values:
if key in self._indexed_sources: