Omnibus commited on
Commit
d98687d
·
verified ·
1 Parent(s): c3ca6bf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -268,7 +268,7 @@ def nasa_sdo_images(obj,size):
268
  #link_json={'year':ls[0][0:4],'month':ls[0][4:6],'day':ls[0][6:8],'dump':ls[1],'size':ls[2],'obj':src_obj}
269
  #print(href)
270
  #link_box.append(link_json)
271
- html_in+=f'<div class="img_class"><a href="{href}" target="_blank">{href}</a><br><img src={href}></div>'
272
  html_in+="</div>"
273
  return html_in
274
  def run():
 
268
  #link_json={'year':ls[0][0:4],'month':ls[0][4:6],'day':ls[0][6:8],'dump':ls[1],'size':ls[2],'obj':src_obj}
269
  #print(href)
270
  #link_box.append(link_json)
271
+ html_in+=f'<div class="img_class"><a href="{sdo_source_format}{href}" target="_blank">{href}</a><br><img src={sdo_source_format}{href}></div>'
272
  html_in+="</div>"
273
  return html_in
274
  def run():