removed the duplicate create_bag_files call in download view func
@@ -228,11 +228,6 @@ def download(request, path, rest_call=False, use_async=True, use_reverse_proxy=T
# this generates metadata other than that generated by create_bag_files.
pre_check_bag_flag.send(sender=resource_cls, resource=res)
- metadata_dirty = res.getAVU('metadata_dirty')
- if metadata_dirty is None or metadata_dirty:
- create_bag_files(res) # sets metadata_dirty to False
- bag_modified = "True"
-
if bag_modified is None or bag_modified:
if use_async:
# task parameter has to be passed in as a tuple or list, hence (res_id,) is needed
