mirror of
https://github.com/myned/modufur.git
synced 2024-12-25 06:37:29 +00:00
Fixed returned order interfering with sequential posts fetches
This commit is contained in:
parent
2b176a2853
commit
16ff15b65d
1 changed files with 4 additions and 2 deletions
|
@ -866,7 +866,8 @@ class MsG:
|
||||||
try:
|
try:
|
||||||
if c % limit == 0:
|
if c % limit == 0:
|
||||||
await dest.trigger_typing()
|
await dest.trigger_typing()
|
||||||
posts.update(await self._get_posts(ctx, booru='e621', tags=tags, limit=limit, previous=posts))
|
temposts, order = await self._get_posts(ctx, booru='e621', tags=tags, limit=limit, previous=posts)
|
||||||
|
posts.update(temposts)
|
||||||
|
|
||||||
keys = list(posts.keys())
|
keys = list(posts.keys())
|
||||||
values = list(posts.values())
|
values = list(posts.values())
|
||||||
|
@ -1030,7 +1031,8 @@ class MsG:
|
||||||
try:
|
try:
|
||||||
if c % limit == 0:
|
if c % limit == 0:
|
||||||
await dest.trigger_typing()
|
await dest.trigger_typing()
|
||||||
posts.update(await self._get_posts(ctx, booru='e926', tags=tags, limit=limit, previous=posts))
|
temposts, order = await self._get_posts(ctx, booru='e926', tags=tags, limit=limit, previous=posts)
|
||||||
|
posts.update(temposts)
|
||||||
|
|
||||||
keys = list(posts.keys())
|
keys = list(posts.keys())
|
||||||
values = list(posts.values())
|
values = list(posts.values())
|
||||||
|
|
Loading…
Reference in a new issue