fixed syntax error in submitbatches management command exception clause