You are viewing a single comment's thread from:
RE: Weekly overview of the development category - Week 46, 2018
Haha, I have no idea what you are talking about!
try:
image_link = image_uploader.upload(
image_path, AUTHOR,
image_name="weekly_number_contributions.png")["url"]
except Exception:
image_link = "https://avatars3.githubusercontent.com/u/16621517?s=400&v=4"
(maybe I should remove this piece of code, but for some reason it fails to upload quite often).
Maybe it was a partiko problem. I was seeing the same profile image over and over instead of the plots....
I was joking, all the images were replaced with his profile picture, haha. I always get an error when uploading images, so I added a try except with @espoem's profile picture (don't ask me why) as an exception - apparently they all threw an exception...