Skip to content

Commit

Permalink
Fixed: Ignore labelled parsers if not label was provided.
Browse files Browse the repository at this point in the history
  • Loading branch information
basrieter committed Nov 16, 2023
1 parent 411e791 commit 1f9a418
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions resources/lib/chn_class.py
Original file line number Diff line number Diff line change
Expand Up @@ -1066,6 +1066,8 @@ def __get_data_parsers(self, url: str, parser_label: Optional[str] = None) -> Li

if parser_label:
data_parsers = [d for d in data_parsers if d.Label == parser_label]
else:
data_parsers = [d for d in data_parsers if not d.Label]
# watch.lap("DataParsers processed")

if not data_parsers:
Expand Down

0 comments on commit 1f9a418

Please sign in to comment.