mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-06 14:06:02 +01:00
...
This commit is contained in:
parent
20fb5905c8
commit
2e2fbb7cce
1 changed files with 1 additions and 1 deletions
|
|
@ -112,7 +112,7 @@ def debug(ioreg_to_tmp=False, buf=None, plugins=None,
|
||||||
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'
|
||||||
ioreg += Device.run_ioreg().decode('utf-8')
|
ioreg += Device.run_ioreg().decode('utf-8', 'replace')
|
||||||
connected_devices = []
|
connected_devices = []
|
||||||
if disabled_plugins:
|
if disabled_plugins:
|
||||||
out('\nDisabled plugins:', textwrap.fill(' '.join([x.__class__.__name__ for x in
|
out('\nDisabled plugins:', textwrap.fill(' '.join([x.__class__.__name__ for x in
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue