mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
remove unreachable statement
This commit is contained in:
parent
54e510a415
commit
c32052eaa5
@ -662,7 +662,6 @@ class Device(DeviceConfig, DevicePlugin):
|
|||||||
|
|
||||||
if not d.serial:
|
if not d.serial:
|
||||||
raise DeviceError("Device has no S/N. Can't continue")
|
raise DeviceError("Device has no S/N. Can't continue")
|
||||||
return False
|
|
||||||
from .hal import get_hal
|
from .hal import get_hal
|
||||||
hal = get_hal()
|
hal = get_hal()
|
||||||
vols = hal.get_volumes(d)
|
vols = hal.get_volumes(d)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user