more informative erro message [error connecting to Solr]
[wolnelektury.git] / apps / catalogue / models / book.py
index 5bc1e10..980ad52 100644 (file)
@@ -196,7 +196,7 @@ class Book(models.Model):
         try:
             index.index_book(self, book_info)
             if index_tags:
-                idx.index_tags()
+                index.index_tags()
             if commit:
                 index.index.commit()
         except Exception, e: