mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 02:34:06 -04:00
...
This commit is contained in:
parent
102bd76e8c
commit
0e19e671c4
@ -105,7 +105,7 @@ def debug(ioreg_to_tmp=False, buf=None, plugins=None,
|
|||||||
ioreg = None
|
ioreg = None
|
||||||
if isosx:
|
if isosx:
|
||||||
from calibre.devices.usbms.device import Device
|
from calibre.devices.usbms.device import Device
|
||||||
mount = repr(Device.osx_run_mount())
|
mount = '\n'.join(repr(x) for x in Device.osx_run_mount().splitlines())
|
||||||
drives = pprint.pformat(Device.osx_get_usb_drives())
|
drives = pprint.pformat(Device.osx_get_usb_drives())
|
||||||
ioreg = 'Output from mount:\n'+mount+'\n\n'
|
ioreg = 'Output from mount:\n'+mount+'\n\n'
|
||||||
ioreg += 'Output from osx_get_usb_drives:\n'+drives+'\n\n'
|
ioreg += 'Output from osx_get_usb_drives:\n'+drives+'\n\n'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user