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__":
|
if __name__ == "__main__":
|
||||||
commands = [
|
commands = [
|
||||||
"s: #a Crystal F",
|
"s: #a Ghost Bath",
|
||||||
"d: 20",
|
"d: 4",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
|
@ -128,10 +128,11 @@ class SourceCollection:
|
|||||||
if existing_source is not None:
|
if existing_source is not None:
|
||||||
existing_source.__merge__(source)
|
existing_source.__merge__(source)
|
||||||
source = existing_source
|
source = existing_source
|
||||||
|
else:
|
||||||
|
self._page_to_source_list[source.page_enum].append(source)
|
||||||
|
|
||||||
for key in source.indexing_values:
|
for key in source.indexing_values:
|
||||||
self._indexed_sources[key] = source
|
self._indexed_sources[key] = source
|
||||||
self._page_to_source_list[source.page_enum].append(source)
|
|
||||||
|
|
||||||
def extend(self, sources: Iterable[Source]):
|
def extend(self, sources: Iterable[Source]):
|
||||||
for source in sources:
|
for source in sources:
|
||||||
|
Loading…
Reference in New Issue
Block a user