Skip to content

Commit

Permalink
fix: \n with numbers in judges list
Browse files Browse the repository at this point in the history
  • Loading branch information
Golf0ned committed Dec 12, 2023
1 parent 1e5a19f commit 0270ddc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tournament.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,6 @@ def updateTournamentRound(self):
for row in results:
cols = row.findAll('td')
roundData.append([cell.text.strip() for cell in cols])
print(roundData)

# filter and blast
filteredData = self.filterPairings(roundData[1:], roundNum)
Expand Down Expand Up @@ -166,7 +165,7 @@ def filterPairings(self, data, round):
room = row[0]
side1 = row[1]
side2 = row[2]
judges = ', '.join(row[3:])
judges = ', '.join(row[3:]).replace('\n', '')

if self.__school in side1:
if "Locked" in side1:
Expand Down

0 comments on commit 0270ddc

Please sign in to comment.