Update plugin.py

make compatible with other sentry versions
Merge pull request #2 from whiskybar/patch-1

Update plugin.py