Added missing import

Error on line 36 was due to EventPriority not being imported.
Merge pull request #14 from drjawa/patch-2

Added missing import