Commit 4c7b0f85 authored by Michal Čihař's avatar Michal Čihař

Move impor to top of file

parent c8d71e77
......@@ -25,6 +25,7 @@ from django.db.models import Q
import itertools
from weblate.lang.models import Language
from weblate.trans.formats import ttkit
from whoosh import qparser
......@@ -467,8 +468,6 @@ class DictionaryManager(models.Manager):
'''
Handles dictionary update.
'''
from weblate.trans.models import ttkit
ret = 0
# Load file using ttkit
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment