1
0
mirror of https://github.com/gryf/ebook-converter.git synced 2026-02-24 11:15:50 +01:00
Files
ebook-converter/ebook_converter/ebooks/mobi/__init__.py
2020-04-11 19:27:06 +02:00

16 lines
453 B
Python

#!/usr/bin/env python2
# vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai
from __future__ import absolute_import, division, print_function, unicode_literals
__license__ = 'GPL v3'
__copyright__ = '2008, Kovid Goyal <kovid at kovidgoyal.net>'
class MobiError(Exception):
pass
# That might be a bit small on the PW, but Amazon/KG 2.5 still uses these values, even when delivered to a PW
MAX_THUMB_SIZE = 16 * 1024
MAX_THUMB_DIMEN = (180, 240)