Flexwatt is not made to be in damp conditions but as long it didn't short out and appears to be running fine it should be okay. What kind of container is the snake in? I use plastic tubs and seal small holes with silicone caulk (like aquarium sealant) It can give off a strong odor while curing so it's best to leave it set for 24-48 hours before putting an animal back in. Hot glue should work fine but may be more brittle and could crack and fall out over time whereas the silicone will be more flexible. Also if I ever find I need to use that hole again the silicone peels off pretty cleanly.