Update environ.py

Fixed logging error. This was raised when I had PIL enabled locally which isn't supported by the SDK.
Merge pull request #38 from robcharlwood/master

Update environ.py