mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
64a2cbc4e0
commit
429096bb54
@ -56,6 +56,12 @@ def get_connected_device():
|
|||||||
return dev
|
return dev
|
||||||
|
|
||||||
def debug(ioreg_to_tmp=False, buf=None, plugins=None):
|
def debug(ioreg_to_tmp=False, buf=None, plugins=None):
|
||||||
|
'''
|
||||||
|
If plugins is None, then this method calls startup and shutdown on the
|
||||||
|
device plugins. So if you are using it in a context where startup could
|
||||||
|
already have been called (for example in the main GUI), pass in the list of
|
||||||
|
device plugins as the plugins parameter.
|
||||||
|
'''
|
||||||
import textwrap
|
import textwrap
|
||||||
from calibre.customize.ui import device_plugins
|
from calibre.customize.ui import device_plugins
|
||||||
from calibre.devices.scanner import DeviceScanner, win_pnp_drives
|
from calibre.devices.scanner import DeviceScanner, win_pnp_drives
|
||||||
|
Loading…
x
Reference in New Issue
Block a user