minor fix
authorRadek Czajka <radoslaw.czajka@nowoczesnapolska.org.pl>
Tue, 22 Mar 2011 11:16:00 +0000 (12:16 +0100)
committerRadek Czajka <radoslaw.czajka@nowoczesnapolska.org.pl>
Tue, 22 Mar 2011 11:16:00 +0000 (12:16 +0100)
apps/catalogue/models.py
lib/librarian

index f2be7d1..4552962 100644 (file)
@@ -558,7 +558,7 @@ class Book(models.Model):
                     tag.save()
                 book_tags.append(tag)
 
                     tag.save()
                 book_tags.append(tag)
 
-        book.tags = book_tags + book_shelves
+        book.tags = set(book_tags + book_shelves)
 
         book_tag = book.book_tag()
 
 
         book_tag = book.book_tag()
 
index e2bc69b..fec62da 160000 (submodule)
@@ -1 +1 @@
-Subproject commit e2bc69b731434e6929686637ba4cf296632138e2
+Subproject commit fec62da2886e29aa0a9233e13fd9cae0ca6076bf