The application works fine but suddenly, the error pops up.
File "/Users/sriharichandramouli/Documents/Git_Auto_comment/git_update.py", line 19, in job
repo = g.get_repo(repo_name[i])
File "/usr/local/lib/python3.7/site-packages/github/MainClass.py", line 330, in get_repo
"GET", "%s%s" % (url_base, full_name_or_id)
File "/usr/local/lib/python3.7/site-packages/github/Requester.py", line 322, in requestJsonAndCheck
verb, url, parameters, headers, input, self.__customConnection(url)
File "/usr/local/lib/python3.7/site-packages/github/Requester.py", line 345, in __check
raise self.__createException(status, responseHeaders, output)
File "/usr/local/lib/python3.7/site-packages/github/Requester.py", line 379, in __createException
elif status == 403 and output.get("message").startswith(
AttributeError: 'NoneType' object has no attribute 'startswith'