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

Added powerpoint fileformat to prevent that pptx files are interpreted as json and fail retrieval. #135

Merged
merged 1 commit into from Apr 28, 2021

Conversation

ghost
Copy link

@ghost ghost commented Apr 25, 2021

I noticed that when a Zotero item has a powerpoint as an attachment the retrieval using zot.dump() or zot.file() would fail with the error *** json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0).

Turns out the content type for presentations was not in the format dictionary. I simply added that format, now powerpoint files can be retrieved as well.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 47.318% when pulling aea7e92 on ba-tno:dev into 9b0d717 on urschrei:dev.

@urschrei urschrei merged commit 3a07628 into urschrei:dev Apr 28, 2021
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

Successfully merging this pull request may close these issues.

None yet

2 participants