Fixing flake8 error with token

This commit is contained in:
Shawn Niederriter 2017-04-17 14:45:28 +00:00
parent f18e0b663d
commit 5e7eeb079d

View File

@ -77,7 +77,8 @@ class Request(dict):
:return: token related to request
"""
self._token = getattr(self, '_token', self.headers.get('Authorization'))
self._token = getattr(self, '_token',
self.headers.get('Authorization'))
return self._token
@property