Code style changed

This commit is contained in:
Jonas Winkler
2018-09-13 14:15:16 +02:00
parent 8d003a6a85
commit 909586bf25
4 changed files with 12 additions and 12 deletions

View File

@@ -127,7 +127,7 @@ class DocumentClassifier(object):
def classify_document(self, document, classify_correspondent=False, classify_document_type=False, classify_tags=False, replace_tags=False):
X = self.data_vectorizer.transform([preprocess_content(document.content)])
update_fields=()
update_fields = ()
if classify_correspondent and self.correspondent_classifier is not None:
y_correspondent = self.correspondent_classifier.predict(X)