Skip to content

Commit

Permalink
Fixed bug with publishing to Excel.
Browse files Browse the repository at this point in the history
  • Loading branch information
esitarski committed Jul 2, 2024
1 parent 32a5ae1 commit 1132409
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions SeriesMgr/Results.py
Original file line number Diff line number Diff line change
Expand Up @@ -893,7 +893,7 @@ def onPublishToExcel( self, event ):
Utils.MessageOK( self, 'You must save your Series to a file first.', 'Save Series' )
return

self.raceResults = model.extractAllRaceResults()
raceResults = model.extractAllRaceResults()

categoryNames = model.getCategoryNamesSortedPublish()
if not categoryNames:
Expand All @@ -904,7 +904,7 @@ def onPublishToExcel( self, event ):
for categoryName in categoryNames:
category = model.categories[categoryName]
bestResultsToConsider = (category.bestResultsToConsider if category.bestResultsToConsider is not None else model.bestResultsToConsider)
mustHaveCompleted = (category.mustHaveCompleted if category.mustHaveComplete is not None else model.mustHaveCompleted)
mustHaveCompleted = (category.mustHaveCompleted if category.mustHaveCompleted is not None else model.mustHaveCompleted)
results, races, potentialDuplicates = GetModelInfo.GetCategoryResults(
categoryName,
raceResults,
Expand Down
2 changes: 1 addition & 1 deletion SeriesMgr/Version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
AppVerName="SeriesMgr 3.0.33-private"
AppVerName="SeriesMgr 3.0.34-private"

0 comments on commit 1132409

Please sign in to comment.