Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/pyrogram/client/ext/dispatcher.py", line 180, in update_worker
handler.callback(self.client, *args)
File "/home/UB/PyroBot/pyrobot/modules/flickr.py", line 12, in flickr
flickr_api.upload(photo_file="/home/UB/PyroBot/downloads/image.png", title="https://t.me/witzeposten_pictures")
File "/usr/local/lib/python3.6/dist-packages/flickr_api/upload.py", line 112, in upload
r = post(UPLOAD_URL, auth.AUTH_HANDLER, args, photo_file, photo_file_data)
File "/usr/local/lib/python3.6/dist-packages/flickr_api/upload.py", line 46, in post
args["api_key"] = auth_handler.key
AttributeError: 'NoneType' object has no attribute 'key'
Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/pyrogram/client/ext/dispatcher.py", line 180, in update_worker handler.callback(self.client, *args) File "/home/UB/PyroBot/pyrobot/modules/flickr.py", line 12, in flickr flickr_api.upload(photo_file="/home/UB/PyroBot/downloads/image.png", title="https://t.me/witzeposten_pictures") File "/usr/local/lib/python3.6/dist-packages/flickr_api/upload.py", line 112, in upload r = post(UPLOAD_URL, auth.AUTH_HANDLER, args, photo_file, photo_file_data) File "/usr/local/lib/python3.6/dist-packages/flickr_api/upload.py", line 46, in post args["api_key"] = auth_handler.key AttributeError: 'NoneType' object has no attribute 'key'