---------------------------------------------------------------------------
Exception Traceback (most recent call last)
<ipython-input-12-d7de3fcc6836> in <module>()
----> 1 studentlist.add(instructor1)
/Users/Zsailer/github/timetable/timetable/base.py in add(self, *items)
81 """
82 for item in items:
---> 83 self._assign_id(item)
84 setattr(self, item.id, item)
85 self._contents[item.id] = item
/Users/Zsailer/github/timetable/timetable/base.py in _assign_id(self, item)
63 """
64 # Check that argument is an expected object
---> 65 self._check_type(item)
66 # If the object doesn't already have an ID, give it one
67 if hasattr(item, "id") is False:
/Users/Zsailer/github/timetable/timetable/base.py in _check_type(self, item)
57 if item.__class__ != self._child_type:
58 raise Exception("Argument must be a(n) `" + \
---> 59 self._child_type.__name__ + "` object!")
60
61 def _assign_id(self, item):
Exception: Argument must be a(n) `Student` object!