This commit is contained in:
j 2016-01-13 23:18:32 +05:30
commit b33d066322
4 changed files with 7 additions and 2 deletions

View file

@ -32,8 +32,9 @@ def metadata(f, from_=None):
if ext == 'cbr':
info = cbr.info(f)
elif ext == 'epub':
elif ext in ('epub', 'kepub'):
info = epub.info(f)
data['extension'] = 'epub'
elif ext == 'pdf':
info = pdf.info(f)
elif ext == 'txt':