Update poller.py
Merge pull request #3 from ejsuncy/patch-1

Update poller.py