From cf0e969f0b7280c551a1b89d42dc6a41b6f866fd Mon Sep 17 00:00:00 2001 From: Adi Sieker Date: Wed, 13 Apr 2011 21:04:13 +0200 Subject: [PATCH] moved next_cursor where it belongs. --- convore/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/convore/core.py b/convore/core.py index f54a896..43788b4 100644 --- a/convore/core.py +++ b/convore/core.py @@ -53,7 +53,6 @@ class Convore(object): def fetch_live_data(self, cursor=None): params= {} - next_cursor = None if cursor <> None: params['cursor'] = cursor @@ -64,6 +63,7 @@ class Convore(object): def live(self, cursor=None): try: + next_cursor = None live_messages = list() messages = self.fetch_live_data(cursor) for data in messages: