That the mayor, when present, shall preside at all meetings of the town commissioners, and where there is an equal division upon any question or in the election of officers by the board he shall determine the matter by his vote. He shall vote in no other case; and if he shall be absent the board may appoint one of their number pro tempore to exercise his duties.