Closed marcel12bell closed 7 years ago
prevents update_avatars.py to throw error: Traceback (most recent call last): File "update_avatars.py", line 92, in main() File "update_avatars.py", line 77, in main avatar = get_avatar(username, last_modified) File "update_avatars.py", line 29, in get_avatar response = requests.get('https://api.github.com/users/' + username, headers={'If-Modified-Since': last_modified}) TypeError: cannot concatenate 'str' and 'NoneType' objects
prevents update_avatars.py to throw error: Traceback (most recent call last): File "update_avatars.py", line 92, in
main()
File "update_avatars.py", line 77, in main
avatar = get_avatar(username, last_modified)
File "update_avatars.py", line 29, in get_avatar
response = requests.get('https://api.github.com/users/' + username, headers={'If-Modified-Since': last_modified})
TypeError: cannot concatenate 'str' and 'NoneType' objects