Wait for storage card to be detected before trying to open

This commit is contained in:
Kovid Goyal 2007-10-25 17:24:37 +00:00
parent ccbf4db926
commit 9ce71ce76b

View File

@ -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()