Find the Answer
This motor came with a flexible cord and cap. Someone made splices to the leads outside the motor terminal housing and just wrapped it up with electrical tape. The Code requires you to splice or join conductors with splicing devices identified for the use. Then, you must cover all splices and joints (and any free ends of conductors) with insulation equivalent to that of the conductors, or with an insulating device identified for the purpose. The NEC does not recognize this taped splice (out in the open) as an acceptable installation, unless you use it during temporary wiring as covered by 590.4(G) and 400.9.