Update revelation.py for issue #2

I suspect this is not the most elegant solution, but works for me.
Merge pull request #3 from skion/patch-1

Update revelation.py for issue #2