mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 10:44:09 -04:00
Windows sometimes needs longer to detect the SD card in the reader. Added an extra sleep of 6 seconds. Fixes #1636 (SD card not detected on re-plug of reader)
This commit is contained in:
parent
219b1e7b64
commit
06dcb8c7ef
@ -147,6 +147,7 @@ class PRS505(Device):
|
||||
|
||||
|
||||
def open_windows(self):
|
||||
time.sleep(6)
|
||||
drives = []
|
||||
wmi = __import__('wmi', globals(), locals(), [], -1)
|
||||
c = wmi.WMI()
|
||||
|
@ -172,6 +172,7 @@ class Device(_Device):
|
||||
return prefix
|
||||
|
||||
def open_windows(self):
|
||||
time.sleep(6)
|
||||
drives = {}
|
||||
wmi = __import__('wmi', globals(), locals(), [], -1)
|
||||
c = wmi.WMI()
|
||||
|
Loading…
x
Reference in New Issue
Block a user