mirror of
https://github.com/karma-riuk/crab-webapp.git
synced 2025-07-05 14:18:12 +02:00
unified the way comment evaluation and refinement
are handled
This commit is contained in:
@ -56,7 +56,7 @@ class Subject:
|
||||
def notifyComplete(self, results: dict):
|
||||
self.status = Status.COMPLETE
|
||||
for observer in self.observers:
|
||||
observer.updateComplete(results)
|
||||
observer.updateComplete({"type": self.type, "results": results})
|
||||
self.results = results
|
||||
# TODO: maybe save results to disk here?
|
||||
|
||||
|
Reference in New Issue
Block a user