buggyrace / buggy-race-server

Race server and supporting material for running a "Buggy Racing" Python programming project
https://www.buggyrace.net
Other
1 stars 0 forks source link

don't update buggy if JSON has no valid values #190

Closed davewhiteland closed 1 year ago

davewhiteland commented 1 year ago

Currently any parsable JSON causes the buggy to be saved (with default values for missing items). This seems a bit wrong — makes more sense to update the buggy if there is at least one value in there (not least because the parsing routine can know how many items it's found. It also makes it a little less trivial to upload JSON without using the editor.

davewhiteland commented 1 year ago

Implemented in 572962f