diff --git a/src/calibre/devices/smart_device_app/driver.py b/src/calibre/devices/smart_device_app/driver.py index 4ded9131fa..87cec1652b 100644 --- a/src/calibre/devices/smart_device_app/driver.py +++ b/src/calibre/devices/smart_device_app/driver.py @@ -1400,7 +1400,7 @@ class SMART_DEVICE_APP(DeviceConfig, DevicePlugin): self.settings().extra_customization[self.OPT_COLLECTIONS].split(',')] self._debug('collection attributes', colattrs) coldict = {} - if colattrs: + if colattrs and hasattr(booklists[0], 'get_collections'): collections = booklists[0].get_collections(colattrs) for k,v in iteritems(collections): lpaths = []