Adding library own page
[wolnelektury.git] / apps / pdcounter / models.py
index 35cbe29..50eb43e 100644 (file)
@@ -92,7 +92,6 @@ if not settings.NO_SEARCH_INDEX:
     def update_index(sender, instance, **kwargs):
         import search
         print "update pd index %s [update %s]" % (instance, 'created' in kwargs)
     def update_index(sender, instance, **kwargs):
         import search
         print "update pd index %s [update %s]" % (instance, 'created' in kwargs)
-        search.JVM.attachCurrentThread()
         idx = search.Index()
         idx.open()
         try:
         idx = search.Index()
         idx.open()
         try: