This commit is contained in:
Kovid Goyal 2008-01-08 16:52:37 +00:00
parent 3deb351b3a
commit d4cf1ad9aa
2 changed files with 3 additions and 2 deletions

View File

@ -25,7 +25,8 @@ strftime = functools.partial(_strftime, zone=time.localtime)
MIME_MAP = {
"azw" : "application/azw",
"prc" : "application/prc",
"txt" : "text/plain"
"txt" : "text/plain",
'mobi': 'application/mobi',
}
def sortable_title(title):

View File

@ -41,7 +41,7 @@ class File(object):
class KINDLE(Device):
FORMATS = ["azw", "prc", "txt"]
FORMATS = ["azw", "prc", "txt", 'mobi']
VENDOR_ID = 0x1949 #: Amazon Vendor Id
PRODUCT_ID = 0x001 #: Product Id for the Kindle
INTERNAL_STORAGE = 'INTERNAL_STORAGE'