cernopendata / cernopendata-client

CERN Open Data command-line client
http://cernopendata-client.readthedocs.io/
GNU General Public License v3.0
10 stars 9 forks source link

downloader: CLI breaks when record has no files #123

Open avivace opened 3 years ago

avivace commented 3 years ago

The current version of the package breaks when no "files" key is found in the metadata object. E.g.

$ cernopendata-client download-files --recid=60

This should be fixed by https://github.com/cernopendata/cernopendata-client/commit/465072a400908efa7454f0fcd696eafd530d51b6 but the current release (0.2.0) doesn't include this commit. Perhaps a bugfix minor release? This would allow modules using cernopendata-client as dependency to avoid shipping the git version