From: Marcin Koziej Date: Sat, 17 Mar 2012 14:49:02 +0000 (+0100) Subject: attach thread before using jvm X-Git-Url: https://git.mdrn.pl/wolnelektury.git/commitdiff_plain/e078d02874b3f4aa50ee2488b83b8e0a4cba8fe7?ds=sidebyside attach thread before using jvm --- diff --git a/apps/search/views.py b/apps/search/views.py index 4db4bb8fb..2945c42ad 100644 --- a/apps/search/views.py +++ b/apps/search/views.py @@ -51,6 +51,7 @@ def did_you_mean(query, tokens): return query +JVM.attachCurrentThread() search = Search() def hint(request):