Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AttributeError: 'NoneType' object has no attribute 'key' #115

Open
7DSMeliodas opened this issue Jul 6, 2019 · 0 comments
Open

AttributeError: 'NoneType' object has no attribute 'key' #115

7DSMeliodas opened this issue Jul 6, 2019 · 0 comments

Comments

@7DSMeliodas
Copy link

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'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant