Skip to content

Commit a52c106

Browse files
committed
add days of week for course import
1 parent 9ef3d95 commit a52c106

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

uw_mazevo/api.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,10 @@ def get_statuses(self):
4444
class PublicCourses(object):
4545
URL = "/api/publiccourses/{}"
4646

47+
# specific keys needed for term import
48+
DAYS_OF_WEEK = ["sunday", "monday", "tuesday", "wednesday",
49+
"thursday", "friday", "saturday"]
50+
4751
def import_term(self, courses):
4852
"""
4953
Import a Term

0 commit comments

Comments
 (0)