1
0
mirror of https://github.com/janeczku/calibre-web synced 2025-10-26 21:07:40 +00:00

support pycountry if iso-639 is not available

This commit is contained in:
Daniel Pavel
2019-03-02 03:13:43 +02:00
parent 4b301a7961
commit f7e640fd98
3 changed files with 31 additions and 4 deletions

View File

@@ -21,7 +21,7 @@ import zipfile
from lxml import etree
import os
import uploader
from iso639 import languages as isoLanguages
import isoLanguages
def extractCover(zipFile, coverFile, coverpath, tmp_file_name):