mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 18:54: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
|
self._card_prefix = conditional_mount(sc)+os.sep
|
||||||
|
|
||||||
def open(self):
|
def open(self):
|
||||||
|
time.sleep(2)
|
||||||
try:
|
try:
|
||||||
if islinux:
|
if islinux:
|
||||||
self.open_linux()
|
self.open_linux()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user