Skip to content

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

@7DSMeliodas

Description

@7DSMeliodas

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'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions