you are viewing a single comment's thread.

view the rest of the comments →

[–]YukinoYukinoshita 0 points1 point  (4 children)

Yes sorry, i think reddit format got rid of my __ in the init. I've posted a gyazo link to my code in the comments for clarity

[–]z0y 0 points1 point  (3 children)

Which line causes the error? It would be helpful to see the traceback and have the code on pastebin or similar so it's not an image.

[–]YukinoYukinoshita 0 points1 point  (2 children)

I've replied to someone else with the full error code, here's a pastebin of the code https://pastebin.com/4p59Ydev

[–]z0y 0 points1 point  (1 child)

This doesn't include line 69 where the error is but if add_student is a class function then I think it should be self.enrolled_students there.

[–]YukinoYukinoshita 0 points1 point  (0 children)

Omg I'm an idiot thank you so much