That from and after the passage of this act, it shall not be lawful for any person in Calvert County to carry, on the days of election and primary election, within three hundred yards of the polls, secretly, or otherwise, any gun, pistol, dirk, dirk-knife, razor, billy or bludgeon, and any person violating the provisions of this act, shall be deemed guilty of a misdemeanor, and on conviction thereof by the Circuit Court of Calvert County . . . shall be fined not less than ten nor more than fifty dollars for each offense. . .