fix pyramid compat issue fixes #19
Merge pull request #26 from vangheem/master

fix issue #19