Fix import env vars
Some checks failed
SonarQube Scan / SonarQube Trigger (push) Failing after 6s
Build image - Testing / build-api-testing (push) Successful in 14s

This commit is contained in:
Evan 2025-01-22 19:21:00 -05:00
parent 64d8a8eb1a
commit b9345096a1

View file

@ -7,6 +7,7 @@ import typing as t
import requests import requests
import models import models
from config import env_OWM_KEY, env_OWM_UNITS
logger = logging.getLogger("gunicorn.error") logger = logging.getLogger("gunicorn.error")
weather_template = "The current temperature is {0} and feels like {1}. The high today is {2} with a low of {3}. The current humidity is {4} percent. The summary for today is: {5}." weather_template = "The current temperature is {0} and feels like {1}. The high today is {2} with a low of {3}. The current humidity is {4} percent. The summary for today is: {5}."