# Add any new rounds to the database
if new_rounds:
for round in new_rounds.split(','):
+ # Drop any leading/trailing spaces from the round name
+ round = round.strip()
+ # Ignore any empty string
+ if not len(round):
+ continue
rounds.append(round)
turb.table.put_item(
Item={