fix/reindex_before_collection #21
@ -6,8 +6,8 @@ logging.getLogger().setLevel(logging.DEBUG)
|
||||
|
||||
if __name__ == "__main__":
|
||||
commands = [
|
||||
"s: #a Crystal F",
|
||||
"d: 20",
|
||||
"s: #a Ghost Bath",
|
||||
"d: 4",
|
||||
]
|
||||
|
||||
|
||||
|
@ -128,10 +128,11 @@ class SourceCollection:
|
||||
if existing_source is not None:
|
||||
existing_source.__merge__(source)
|
||||
source = existing_source
|
||||
else:
|
||||
self._page_to_source_list[source.page_enum].append(source)
|
||||
|
||||
for key in source.indexing_values:
|
||||
self._indexed_sources[key] = source
|
||||
self._page_to_source_list[source.page_enum].append(source)
|
||||
|
||||
def extend(self, sources: Iterable[Source]):
|
||||
for source in sources:
|
||||
|
Loading…
Reference in New Issue
Block a user