Run blender Still rendering from command line with external Python script
Check that bpy.context.scene.camera is set to your newly added camera. That property determines which camera is used for rendering, and if it's still None it won't work.