you can run a multimeter across the switch. see if it is shorted when the camera is closed. if it is you can solder a cable to permenently short it out.
if it is not you have to remove the switch