fix: not directly adding all sources
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
67f475076c
commit
415210522f
@ -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