From 2389b6fd7858028cdaacaec53e795a57f9375d03 Mon Sep 17 00:00:00 2001 From: Charles Haley <> Date: Wed, 5 Oct 2011 06:48:38 +0200 Subject: [PATCH] Fix plugboard problem where customizations to formats accepted by a device were ignored. --- src/calibre/gui2/preferences/plugboard.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/gui2/preferences/plugboard.py b/src/calibre/gui2/preferences/plugboard.py index cc94b5e42a..587db0fd79 100644 --- a/src/calibre/gui2/preferences/plugboard.py +++ b/src/calibre/gui2/preferences/plugboard.py @@ -58,7 +58,7 @@ class ConfigWidget(ConfigWidgetBase, Ui_Form): self.device_to_formats_map = {} for device in device_plugins(): n = device_name_for_plugboards(device) - self.device_to_formats_map[n] = set(device.FORMATS) + self.device_to_formats_map[n] = set(device.settings().format_map) if getattr(device, 'CAN_DO_DEVICE_DB_PLUGBOARD', False): self.device_to_formats_map[n].add('device_db') if n not in self.devices: