mirror of
https://github.com/koreader/koreader.git
synced 2025-12-13 20:36:53 +01:00
Fix downloading of PDFs from wallabag
This commit is contained in:
committed by
Frans de Jonge
parent
5575c284c1
commit
56487cda1d
@@ -775,7 +775,7 @@ function Wallabag:downloadArticle(article)
|
||||
end
|
||||
elseif DocumentRegistry:hasProvider(nil, mimetype) then
|
||||
logger.dbg("Wallabag:downloadArticle: ignoring EPUB in favor of mimetype", mimetype)
|
||||
file_ext = "." .. DocumentRegistry:mimeToExt(article.mimetype)
|
||||
file_ext = "." .. DocumentRegistry:mimeToExt(mimetype)
|
||||
item_url = article.url
|
||||
else
|
||||
logger.dbg("Wallabag:downloadArticle: not ignoring EPUB, because there is no provider for", mimetype)
|
||||
|
||||
Reference in New Issue
Block a user