How did the Espionage Act affect US elections?

How did the Espionage Act affect US elections?