We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 12e20d9 + fcc969d commit 3c3e049Copy full SHA for 3c3e049
getBitstreams.py
@@ -199,8 +199,8 @@ def processItem(dsObject, args):
199
bitstreams.raise_for_status() # ensure we notice bad responses
200
bitstreams = bitstreams.json()
201
for bitstream in bitstreams:
202
- if (args.formats and bitstream['format'] in args.formats or not args.formats
203
- and args.bundles and bitstream['bundleName'] in args.bundles or not args.bundles):
+ if ((args.formats and bitstream['format'] in args.formats or not args.formats)
+ and (args.bundles and bitstream['bundleName'] in args.bundles or not args.bundles)):
204
if args.verbose: print(bitstream)
205
sequenceId = str(bitstream['sequenceId'])
206
fileName = bitstream['name']
0 commit comments