Omnibus commited on
Commit
2ffc2bb
·
verified ·
1 Parent(s): 206c944

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -501,7 +501,8 @@ def load_data(rss_url=None):
501
  def load_html(conv):
502
  ht=""
503
  ht+=f"""<div class="div_box">"""
504
- ht+=f"""<pre class="bpost"><div class="bhead"><h2>{conv['title']}</h2><br><h5>{conv['description']}</h5><br>{conv['links']}</div>{conv['article']}</pre>"""
 
505
  ht+=f"""</div>"""
506
 
507
  with open('index.html','r') as h:
 
501
  def load_html(conv):
502
  ht=""
503
  ht+=f"""<div class="div_box">"""
504
+ for ea in conv:
505
+ ht+=f"""<pre class="bpost"><div class="bhead"><h2>{ea['title']}</h2><br><h5>{ea['description']}</h5><br>{ea['links']}</div>{ea['article']}</pre>"""
506
  ht+=f"""</div>"""
507
 
508
  with open('index.html','r') as h: