mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-01-15 16:05:16 +01:00
...
This commit is contained in:
parent
5ac5928486
commit
8dde6d8433
1 changed files with 2 additions and 2 deletions
|
|
@ -244,8 +244,8 @@ def report_progress(self, sent, total):
|
|||
dev.startup()
|
||||
from calibre.devices.scanner import linux_scanner
|
||||
devs = linux_scanner()
|
||||
mtp_devs = dev.detect(devs)
|
||||
dev.open(list(mtp_devs)[0], 'xxx')
|
||||
cd = dev.detect_managed_devices(devs)
|
||||
dev.open(cd, 'xxx')
|
||||
d = dev.dev
|
||||
print ("Opened device:", dev.get_gui_name())
|
||||
print ("Storage info:")
|
||||
|
|
|
|||
Loading…
Reference in a new issue