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

json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) #36

Closed
Ppang0405 opened this issue Apr 11, 2021 · 0 comments
Closed

Comments

@Ppang0405
Copy link

from telegraph import upload_file

Resource: https://python-telegraph.readthedocs.io/en/latest/_modules/telegraph/upload.html#upload_file

I use upload_file func but when I pass file_name or whatever file object (
by: with open(file_path, 'rb') as f:
list_src = upload_file(f)
), Error json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) throw.

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

2 participants