Load Registrations file sensitive to whitespace

Report bugs found in Poker Mavens
Post Reply
strobe878
Posts: 60
Joined: Fri Nov 24, 2023 8:11 pm

Load Registrations file sensitive to whitespace

Post by strobe878 »

I had to reload some tournament registrations without having saved them (because I forgot to). I reconstructed the list of players and created a file but it failed because I had spaces in between the names, like this:

Code: Select all

{"FileType":"TournamentRegistrations","Version":"7.29"}
{"GameID":"Tournament #03","Registrations":["Test1", "Test2"]}
With the space between "Test1", and "Test2" loading the file fails with

Code: Select all

Player account not found: "Test2": Tournament
Tournaments affected: 1
Total registrations: 1
ie the Test1 player is registered fine but not Test2.
Post Reply