Skip to content

Commit

Permalink
Merge pull request #1392 from apoorvaeternity/fix_hash
Browse files Browse the repository at this point in the history
Fix hash value
  • Loading branch information
henrykironde committed Oct 27, 2019
2 parents d0f81cb + 82e222a commit a1aff77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion retriever/lib/install.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def _install(args, use_cache, debug):
path_to_archive = args['dataset']
if args['hash_value']:
path_to_archive = os.path.join(PROVENANCE_DIR, args['dataset'],
'{}-{}.zip'.format(args['dataset'], args['hash_value'][0]))
'{}-{}.zip'.format(args['dataset'], args['hash_value']))
if not os.path.exists(path_to_archive):
print('The committed file does not exist.')
engine = install_committed(path_to_archive, engine, force=args.get('force', False))
Expand Down

0 comments on commit a1aff77

Please sign in to comment.