fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Basically usable funding workflow.
[wolnelektury.git]
/
apps
/
catalogue
/
models
/
listeners.py
diff --git
a/apps/catalogue/models/listeners.py
b/apps/catalogue/models/listeners.py
index
93ad2d7
..
41c974a
100644
(file)
--- a/
apps/catalogue/models/listeners.py
+++ b/
apps/catalogue/models/listeners.py
@@
-61,7
+61,6
@@
if not settings.NO_SEARCH_INDEX:
def _remove_book_from_index_handler(sender, instance, **kwargs):
""" remove the book from search index, when it is deleted."""
import search
- search.JVM.attachCurrentThread()
idx = search.Index()
idx.open(timeout=10000) # 10 seconds timeout.
try: