mirror of
https://github.com/myned/modufur.git
synced 2024-12-23 22:27:27 +00:00
Merge branch 'dev'
This commit is contained in:
commit
35df4bb4dc
1 changed files with 1 additions and 1 deletions
|
@ -594,7 +594,7 @@ class MsG:
|
|||
empty = 0
|
||||
c = 0
|
||||
while len(posts) < limit:
|
||||
if c == limit * 5 + self.LIMIT:
|
||||
if c == limit * 5 + (self.LIMIT / 5):
|
||||
raise exc.Timeout
|
||||
request = await u.fetch('https://{}.net/post/index.json'.format(booru), params={'tags': ','.join([order] + tags), 'limit': int(self.LIMIT * limit)}, json=True)
|
||||
if len(request) == 0:
|
||||
|
|
Loading…
Reference in a new issue