myCUinfo-API icon indicating copy to clipboard operation
myCUinfo-API copied to clipboard

info method

Open dangiger opened this issue 7 years ago • 1 comments

The method info() is not working. Perhaps this is because CU changed the way they display user information, here is the error I get when running this code.

Note: This works fine when I use the classes() method.

loginUser = mycuinfo.CUSession(user, password) userinfo = loginUser.info()

Traceback (most recent call last): File "/Users/<>/PycharmProjects/untitled/main", line 19, in main() File "/Users/<>/PycharmProjects/untitled/main", line 10, in main userinfo = loginUser.info() File "/usr/local/lib/python2.7/site-packages/mycuinfo/cusession.py", line 149, in info name = item.split('<')[1].split('>')[0] IndexError: list index out of range

dangiger avatar Aug 18 '17 17:08 dangiger

Is there anything that doesn't make you a standard student (more than one major, more than one college, student employee, no student ID, etc.)?

biw avatar Aug 18 '17 18:08 biw