Merge pull request #326 from s-m-b/patch-1
Typo fix of parameter name 'data' it is now 'iq'
This commit is contained in:
commit
27582f6fd2
1 changed files with 2 additions and 2 deletions
|
@ -74,8 +74,8 @@ class Gmail(BasePlugin):
|
|||
return resp
|
||||
|
||||
def _update_last_results(self, iq, callback=None):
|
||||
self._last_result_time = data['gmail_messages']['result_time']
|
||||
threads = data['gmail_messages']['threads']
|
||||
self._last_result_time = iq['gmail_messages']['result_time']
|
||||
threads = iq['gmail_messages']['threads']
|
||||
if threads:
|
||||
self._last_result_tid = threads[0]['tid']
|
||||
if callback:
|
||||
|
|
Loading…
Reference in a new issue