fixed typo in timedelta

This commit is contained in:
Fredrick W. Warren 2022-06-05 08:13:45 -07:00
parent bc0d239a1f
commit 76a907c586

View File

@ -25,7 +25,7 @@ def get_subtitle():
"""find Wednesday of the current/next week""" """find Wednesday of the current/next week"""
today = date.today() today = date.today()
if today.weekday() > 2: if today.weekday() > 2:
wednesday = today + tiemdelta(9 - today.weekday()) wednesday = today + timedelta(9 - today.weekday())
else: else:
wednesday = today + timedelta(2 - today.weekday()) wednesday = today + timedelta(2 - today.weekday())
return wednesday.strftime('Bible Study %A %B %#d, %Y') return wednesday.strftime('Bible Study %A %B %#d, %Y')