We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7710353 commit 57e3f87Copy full SHA for 57e3f87
1 file changed
main.py
@@ -285,7 +285,7 @@ def run():
285
# Refresh the semester catalog: run on the 5th and 25th of each month,
286
# or immediately if the database has no catalog data yet.
287
has_catalog = bool(db.list_all_courses())
288
- today = datetime.now().day
+ today = datetime.datetime.now().day
289
if not has_catalog or today in (5, 25):
290
_crawl_semester_catalog(client, db, reporter)
291
else:
0 commit comments