call_on_each_message: Remove dead 'first' parameter.
(imported from commit 06885bf8049238184226d9fc7b64345e6848931a)
This commit is contained in:
parent
f4bf713e7d
commit
df5161bcbd
|
@ -153,7 +153,6 @@ class HumbugAPI(object):
|
||||||
max_message_id = None
|
max_message_id = None
|
||||||
while True:
|
while True:
|
||||||
if max_message_id is not None:
|
if max_message_id is not None:
|
||||||
options["first"] = "0"
|
|
||||||
options["last"] = str(max_message_id)
|
options["last"] = str(max_message_id)
|
||||||
res = self.get_messages(options)
|
res = self.get_messages(options)
|
||||||
if 'error' in res.get('result'):
|
if 'error' in res.get('result'):
|
||||||
|
|
Loading…
Reference in a new issue