Quote:
Originally Posted by Nate the great
Here you go:
|
Try this, the command needs to be quoted after the -c.
Code:
calibre-debug -c "import wmi; from calibre.devices.kindle.driver import KINDLE; k = KINDLE(); print [(str(drive.PNPDeviceID), k.windows_get_drive_prefix(drive)) for drive in wmi.WMI().Win32_DiskDrive()]; k.open_windows(); print k._main_prefix"