carpedm20/LINE — pull request #6 by wuboy0307 (2014-08-08 18:31:41+00:00)
Title: fix miss _client bug when login with authToken

use authToken won't call login(), therefore _client won't be defined.

>>> client = LineClient(authToken="DJPoUwXLipVk7ZgY638eOX6qrNVAgxIsOLWld22mY=")

Traceback (most recent call last):
File "", line 1, in
File "line/client.py", line 81, in __init__
self.revision = self._getLastOpRevision()
File "line/api.py", line 233, in _getLastOpRevision
return self._client.getLastOpRevision()
AttributeError: 'LineClient' object has no attribute '_client'