diff --git a/src/calibre/devices/usbms/books.py b/src/calibre/devices/usbms/books.py index a0e3dd01d2..f7ae6c4ef4 100644 --- a/src/calibre/devices/usbms/books.py +++ b/src/calibre/devices/usbms/books.py @@ -124,6 +124,9 @@ class BookList(_BookList): elif isinstance(val, unicode): val = [val] for category in val: + if attr == 'tags' and len(category) > 1 and \ + category[0] == '[' and category[-1] == ']': + continue if category not in collections: collections[category] = [] if book not in collections[category]: