Closed Guthers closed 5 years ago
Jenkins is failing due to linting errors, please rectify :)
uqcsbot/utils/uq_course_utils.py:77:62: E252 missing whitespace around parameter equals
uqcsbot/utils/uq_course_utils.py:77:63: E252 missing whitespace around parameter equals
uqcsbot/utils/uq_course_utils.py:86:70: W291 trailing whitespace
uqcsbot/utils/uq_course_utils.py:87:80: W291 trailing whitespace
Fixes !whatsdue and !ecp. They broke because you now need to supply a user agent when making a request to the site.
I also added some more error handling to stop it from hanging as often.
Closes #473 and closes #472