Drop preview result from data classes

This commit is contained in:
Christian Wolf 2023-11-19 18:26:35 +01:00
parent f5132ce8e8
commit 6c6b8485fc
2 changed files with 3 additions and 6 deletions

View File

@ -307,10 +307,7 @@ class State4:
class State3:
def __init__(
self, previewImport: HtmlPreviewImport, htmlResults: HtmlCompetitionTotalResults
):
self.previewImport = previewImport
def __init__(self, htmlResults: HtmlCompetitionTotalResults):
self.htmlResults = htmlResults

View File

@ -387,9 +387,9 @@ class Worker:
resultExtractor = ResultExtractor()
resultParsers = resultExtractor.getAllParsers(htmlResultsFileNames)
htmlResults = resultExtractor.extractAllData(resultParsers)
self.l.info("Overall result data extracted: %s", pformat(htmlResults.results))
self.l.debug("Overall result data extracted: %s", pformat(htmlResults.results))
return types.State3(None, htmlResults)
return types.State3(htmlResults)
def combineData(self, importedData: types.State3):
self.l.info("Starting to build data sets.")