Commit ba93404c authored by André Anjos's avatar André Anjos 💬

Merge branch '77_fix_cxx_algorithm_download' into 'master'

Fix algorithm download

Closes #77

See merge request !104
parents 101ea79c ab2353e2
Pipeline #45336 failed with stages
in 9 minutes and 42 seconds
......@@ -865,13 +865,8 @@ def pull(webapi, prefix, asset_type, names, fields, force, indentation):
if asset_type == "algorithm" and storage.language == "cxx":
try:
file_data = webapi.download(
"/api/v1/%s/%s/%s/%s/file/"
% (
TYPE_PLURAL[asset_type],
webapi.user,
storage.name,
storage.version,
)
"/api/v1/%s/%s/file/"
% (TYPE_PLURAL[asset_type], storage.fullname,)
)
data["code"] = file_data
except Exception as e:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment