In any city or town which accepts this section, if the warden, clerk or inspector, or the deputy of any such officer, if any, is not present at the opening of the polls, the city or town clerk may appoint a person to fill such vacancy who shall be an enrolled voter of the same political party as the absent officer, if any competent person enrolled in such party is present and willing to serve.
Mass. Gen. Laws ch. 54, § 16A