We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4b53e41 commit f95a588Copy full SHA for f95a588
bin/lib/objects/ail_objects.py
@@ -227,6 +227,9 @@ def download_objects(objects):
227
with zipfile.ZipFile(zip_buffer, "a") as zf:
228
for obj in get_objects(objects):
229
filename = obj.get_global_id()
230
+ if obj.type == 'item':
231
+ if filename.endswith('.gz'):
232
+ filename = filename[-3]
233
content = obj.get_content(r_type='bytes')
234
if content:
235
zf.writestr(filename, BytesIO(content).getvalue())
0 commit comments