acecalisto3 commited on
Commit
ec81efc
·
verified ·
1 Parent(s): f109f4c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -24,6 +24,9 @@ async def periodic_update():
24
  await asyncio.sleep(300) # Wait for 5 minutes
25
  await update_feed_content()
26
 
 
 
 
27
  def start_periodic_task():
28
  loop = asyncio.get_event_loop()
29
  if loop.is_running():
 
24
  await asyncio.sleep(300) # Wait for 5 minutes
25
  await update_feed_content()
26
 
27
+ async def update_feed_content():
28
+ return generate_rss_feed()
29
+
30
  def start_periodic_task():
31
  loop = asyncio.get_event_loop()
32
  if loop.is_running():