diff --git a/src/calibre/gui2/device.py b/src/calibre/gui2/device.py index 8364e06f0f..f08f87bf80 100644 --- a/src/calibre/gui2/device.py +++ b/src/calibre/gui2/device.py @@ -539,7 +539,7 @@ class DeviceManager(Thread): # {{{ return self.dynamic_plugin_responses.get() except: traceback.print_exc() - return None + return kwargs.get('default', None) # The dynamic plugin methods below must be called on the GUI thread. They # will switch to the device thread before calling the plugin.