We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0e6a27a commit f209272Copy full SHA for f209272
web/survey/views.py
@@ -191,7 +191,8 @@ def detection_products(request):
191
tarfile_write(tar, f'{name}_mask.fits', product.mask)
192
tarfile_write(tar, f'{name}_chan.fits', product.chan)
193
tarfile_write(tar, f'{name}_spec.txt', product.spec)
194
- tarfile_write(tar, f'{name}_plot.png', product.plot)
+ if product.plot is not None:
195
+ tarfile_write(tar, f'{name}_plot.png', product.plot)
196
197
data = fh.getvalue()
198
size = len(data)
0 commit comments