From 93264786e1bb9fb4d14b1f76bf536ffd47b21a67 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 5 Jul 2013 08:03:47 +0530 Subject: [PATCH] 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) --- src/calibre/devices/prst1/driver.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/devices/prst1/driver.py b/src/calibre/devices/prst1/driver.py index 0431ca7bfd..9c76eb096f 100644 --- a/src/calibre/devices/prst1/driver.py +++ b/src/calibre/devices/prst1/driver.py @@ -53,7 +53,7 @@ class PRST1(USBMS): r'(PRS-T(1|2|2N)&)' ) 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' STORAGE_CARD_VOLUME_LABEL = 'SONY Reader Storage Card'