Skip to content

Commit

Permalink
Bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
mraspaud committed Apr 29, 2024
1 parent f0c382e commit 8fcc32c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion satpy/readers/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -639,7 +639,7 @@ def _get_reader_kwargs(reader, reader_kwargs):
reader_kwargs = reader_kwargs or {}

if isinstance(reader, str):
reader = list(reader)
reader = [reader]

# ensure one reader_kwargs per reader, None if not provided
if reader is None:
Expand Down
2 changes: 0 additions & 2 deletions satpy/readers/yaml_reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -346,8 +346,6 @@ def __init__(self, config_dict, filter_parameters=None, filter_filenames=True):
self.filter_parameters = filter_parameters or {}
self.filter_filenames = self.info.get("filter_filenames", filter_filenames)



def filter_selected_filenames(self, filenames):
"""Filter provided files based on metadata in the filename."""
if not isinstance(filenames, set):
Expand Down

0 comments on commit 8fcc32c

Please sign in to comment.