mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
dfffc67082
commit
593214b309
@ -329,7 +329,8 @@ class Device(DeviceConfig, DevicePlugin):
|
|||||||
return subprocess.Popen(cmd,
|
return subprocess.Popen(cmd,
|
||||||
stdout=subprocess.PIPE).communicate()[0]
|
stdout=subprocess.PIPE).communicate()[0]
|
||||||
except IOError: # Probably an interrupted system call
|
except IOError: # Probably an interrupted system call
|
||||||
pass
|
if i == 2:
|
||||||
|
raise
|
||||||
time.sleep(2)
|
time.sleep(2)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user