I'm pretty sure they were betting on an Obama win. According to every poll for the last few weeks, it was all but a sure thing. There are only a few references in the episode to events the previous day, which shouldn't have taken very long for their team to put together. But still, damn fast turnaround and *very* impressive.
I totally figured that they would have something written both ways and have an episode ready to go.