mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix ebook-devide not passing a library uuid in dev.open()
This commit is contained in:
parent
6046ed793e
commit
484caafc32
@ -6,7 +6,7 @@ Provides a command-line and optional graphical interface to the SONY Reader PRS-
|
||||
For usage information run the script.
|
||||
"""
|
||||
|
||||
import StringIO, sys, time, os
|
||||
import StringIO, sys, time, os, uuid
|
||||
from optparse import OptionParser
|
||||
|
||||
from calibre import __version__, __appname__
|
||||
@ -213,7 +213,7 @@ def main():
|
||||
|
||||
for d in connected_devices:
|
||||
try:
|
||||
d.open()
|
||||
d.open(str(uuid.uuid4()))
|
||||
except:
|
||||
continue
|
||||
else:
|
||||
|
Loading…
x
Reference in New Issue
Block a user