Rsnarsna commited on
Commit
db0af6e
·
verified ·
1 Parent(s): 447e02e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -214,6 +214,7 @@ async def email_processing_loop():
214
  @app.get("/", response_class=HTMLResponse)
215
  async def home():
216
  global running
 
217
  status = "Running" if running else "Stopped"
218
  return HTMLResponse(content=html_content.replace("{{ status }}", status), status_code=200)
219
 
 
214
  @app.get("/", response_class=HTMLResponse)
215
  async def home():
216
  global running
217
+ os.getenv('db')
218
  status = "Running" if running else "Stopped"
219
  return HTMLResponse(content=html_content.replace("{{ status }}", status), status_code=200)
220