add weather
This commit is contained in:
@@ -11,6 +11,7 @@ caldav_url = os.getenv('caldav_url')
|
||||
username = os.getenv('username')
|
||||
password = os.getenv('password')
|
||||
cal_id = os.getenv('cal_id')
|
||||
from .weather import weather
|
||||
|
||||
def remove_emoji(string):
|
||||
import re
|
||||
@@ -89,5 +90,7 @@ def dashboard():
|
||||
# r = "<br>".join([event.vobject_instance.vevent.summary.value for event in events_fetched if event.vobject_instance.vevent.dtstart.value < datetime.now()])
|
||||
return render_template("dashboard.html",
|
||||
days=days,
|
||||
today=today)
|
||||
today=today,
|
||||
weather=weather()
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user