Skip to content

Commit

Permalink
[tasks.py] Fixes return type of upload_archived_resource
Browse files Browse the repository at this point in the history
  • Loading branch information
MuhammadIsmailShahzad committed Sep 15, 2020
1 parent ee7999a commit 979b8fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckanext/archiver/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -578,7 +578,7 @@ def upload_archived_resource(resource_id_dir, filename, saved_file):
upload.clear = False
upload.upload(uploader.get_max_resource_size())

return upload, filepath
return upload, upload.filepath

def generate_cache_url(upload_obj, key_path):
'''
Expand Down

0 comments on commit 979b8fc

Please sign in to comment.