Nope. He shocked himself. Electrocution is a portmanteau of "electricity" and "execution," meaning if someone electrocutes themselves they die as a result.
It's good to be pedantic. It always makes things better. (And impresses everyone with your intelligence and "rightness".) Sort of like Sheldon on "Big Bang Theory".