mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-01 13:14:52 +00:00
Partial Revert "pyrofork: Handle FLOOD_PREMIUM_WAIT"
This reverts commit e414aa2812.
Signed-off-by: wulan17 <wulan17@nusantararom.org>
This commit is contained in:
parent
30272728be
commit
7c0481d2f0
1 changed files with 4 additions and 2 deletions
|
|
@ -974,7 +974,8 @@ class Client(Methods):
|
|||
location=location,
|
||||
offset=offset_bytes,
|
||||
limit=chunk_size
|
||||
)
|
||||
),
|
||||
sleep_threshold=30
|
||||
)
|
||||
|
||||
if isinstance(r, raw.types.upload.File):
|
||||
|
|
@ -1009,7 +1010,8 @@ class Client(Methods):
|
|||
location=location,
|
||||
offset=offset_bytes,
|
||||
limit=chunk_size
|
||||
)
|
||||
),
|
||||
sleep_threshold=30
|
||||
)
|
||||
|
||||
elif isinstance(r, raw.types.upload.FileCdnRedirect):
|
||||
|
|
|
|||
Loading…
Reference in a new issue