Compare commits

..

No commits in common. "1b3a91f63fa8c8c320df3319370b380a8afeb3a2" and "7236b8b682d22969ef0f88a779f284998c95e856" have entirely different histories.

2 changed files with 2 additions and 5 deletions

View File

@ -586,8 +586,6 @@ export class FilterableDropdownComponent
this.selectionModel.reset()
this.modelIsDirty = false
}
this.selectionModel.singleSelect =
this.editing && !this.selectionModel.manyToOne
this.opened.next(this)
} else {
if (this.creating) {

View File

@ -123,15 +123,14 @@ def train_classifier(*, scheduled=True):
task.result = "Training data unchanged"
task.status = states.SUCCESS
task.date_done = timezone.now()
task.save(update_fields=["status", "result", "date_done"])
except Exception as e:
logger.warning("Classifier error: " + str(e))
task.status = states.FAILURE
task.result = str(e)
task.date_done = timezone.now()
task.save(update_fields=["status", "result", "date_done"])
@shared_task(bind=True)
def consume_file(