mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 10:44:09 -04:00
Wait for storage card to be detected before trying to open
This commit is contained in:
parent
ccbf4db926
commit
9ce71ce76b
@ -173,6 +173,7 @@ class PRS505(Device):
|
||||
self._card_prefix = conditional_mount(sc)+os.sep
|
||||
|
||||
def open(self):
|
||||
time.sleep(2)
|
||||
try:
|
||||
if islinux:
|
||||
self.open_linux()
|
||||
|
Loading…
x
Reference in New Issue
Block a user