Skip to content

Commit

Permalink
Fix warning message
Browse files Browse the repository at this point in the history
  • Loading branch information
peteb206 authored Feb 14, 2024
1 parent ef33a38 commit 485e223
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions google_sheets.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def update_canadians_sheet():
summary_data = [
['Canadian Baseball Network', '', '', '', f'Last updated: {now.strftime("%B %d, %Y")}'],
['Pete Berryman', '', '', '', '' if str(now.year) == config['YEAR'] else (u'\u26A0' + ' If a player is missing from this list, it could be because')],
['', '', '', '', '' if now.year == config['YEAR'] else f'many schools have not yet posted their {config["YEAR"]} rosters.'],
['', '', '', '', '' if str(now.year) == config['YEAR'] else f'many schools have not yet posted their {config["YEAR"]} rosters.'],
['Total', f'{len(players_df.index)} players', '', '', ''],
blank_row
]
Expand Down Expand Up @@ -674,4 +674,4 @@ def copy_and_paste_sheet(destination_spreadsheet: gspread.Spreadsheet, source_wo
# if __name__ == '__main__':
# update_canadians_sheet()
# update_stats_sheet()
# create_ballot_sheet()
# create_ballot_sheet()

0 comments on commit 485e223

Please sign in to comment.