Update access.py

<type 'exceptions.AttributeError'> 'dict' object has no attribute 'is_mobile'"
Merge pull request #311 from pyner/patch-2

Update access.py