Skip to content

Commit

Permalink
Update pins/drivers.py
Browse files Browse the repository at this point in the history
Co-authored-by: Isabel Zimmerman <54685329+isabelizimm@users.noreply.github.com>
  • Loading branch information
nathanjmcdougall and isabelizimm authored Aug 20, 2024
1 parent 37c7486 commit 4509154
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pins/drivers.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def load_path(meta, path_to_version):
# Check that only a single file name was given
fnames = [meta.file] if isinstance(meta.file, str) else meta.file

type = meta.type
_type = meta.type

if len(fnames) > 1 and type in REQUIRES_SINGLE_FILE:
raise ValueError("Cannot load data when more than 1 file")
Expand Down

0 comments on commit 4509154

Please sign in to comment.