Fix detection of SD Card in some PRS-T2N devices

Fixes #1197970 [Sony PRS-T2 SD card not recognized](https://bugs.launchpad.net/calibre/+bug/1197970)
This commit is contained in:
Kovid Goyal 2013-07-05 08:03:47 +05:30
parent 4bba2cbf92
commit 93264786e1

View File

@ -53,7 +53,7 @@ class PRST1(USBMS):
r'(PRS-T(1|2|2N)&)' r'(PRS-T(1|2|2N)&)'
) )
WINDOWS_CARD_A_MEM = re.compile( WINDOWS_CARD_A_MEM = re.compile(
r'(PRS-T(1|2|2N)__SD&)' r'(PRS-T(1|2|2N)_{1,2}SD&)'
) )
MAIN_MEMORY_VOLUME_LABEL = 'SONY Reader Main Memory' MAIN_MEMORY_VOLUME_LABEL = 'SONY Reader Main Memory'
STORAGE_CARD_VOLUME_LABEL = 'SONY Reader Storage Card' STORAGE_CARD_VOLUME_LABEL = 'SONY Reader Storage Card'