mirror of
https://github.com/pyrogram/pyrogram
synced 2025-08-28 12:57:52 +00:00
Amendment to comment on fdopen usage in get_file
This commit is contained in:
parent
cd0e585d0d
commit
4c9e4df532
@ -2299,8 +2299,8 @@ class Client:
|
|||||||
cdn_session.start()
|
cdn_session.start()
|
||||||
|
|
||||||
try:
|
try:
|
||||||
# cant fdopen the closed file descriptor from above
|
# cant fdopen the closed file descriptor which could be closed due
|
||||||
# which is closed due to the with statement in the branch just above
|
# to the with statement in the branch just above.
|
||||||
# make a new temp file to write to
|
# make a new temp file to write to
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user