Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion fsspec/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -578,7 +578,7 @@ def expand_paths_if_needed(paths, mode, num, fs, name_function):
paths = list(paths)

if "w" in mode: # read mode
if sum([1 for p in paths if "*" in p]) > 1:
if sum(1 for p in paths if "*" in p) > 1:
raise ValueError(
"When writing data, only one filename mask can be specified."
)
Expand Down
Loading