fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Adding library own page
[wolnelektury.git]
/
apps
/
pdcounter
/
models.py
diff --git
a/apps/pdcounter/models.py
b/apps/pdcounter/models.py
index
35cbe29
..
50eb43e
100644
(file)
--- a/
apps/pdcounter/models.py
+++ b/
apps/pdcounter/models.py
@@
-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)
- search.JVM.attachCurrentThread()
idx = search.Index()
idx.open()
try: