From b04b9f369001cbf8b3990be10fe89d2b0b5e22c1 Mon Sep 17 00:00:00 2001 From: David Date: Fri, 27 May 2022 11:00:37 +1000 Subject: [PATCH] Error for handling new templates for collections Whoops. I was sure I fixed and tested that. --- src/calibre/devices/kobo/driver.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/devices/kobo/driver.py b/src/calibre/devices/kobo/driver.py index c0248e7c9e..15d0fc3889 100644 --- a/src/calibre/devices/kobo/driver.py +++ b/src/calibre/devices/kobo/driver.py @@ -2509,7 +2509,7 @@ class KOBOTOUCH(KOBO): booklists.set_debugging_title(debugging_title) booklists.set_device_managed_collections(self.ignore_collections_names) - have_bookshelf_attributes = len(collections_attributes) > 0 and self.use_collections_template + have_bookshelf_attributes = len(collections_attributes) > 0 or self.use_collections_template collections = booklists.get_collections(collections_attributes, collections_template=self.collections_template,