From 880eb28e9f5f6b7a34e79f38117cf1d0b5fbcfb3 Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Fri, 30 Mar 2018 22:41:34 +0200 Subject: [PATCH] Use double quotes --- pyrogram/client/client.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyrogram/client/client.py b/pyrogram/client/client.py index 98cf5e65..ef3e0f26 100644 --- a/pyrogram/client/client.py +++ b/pyrogram/client/client.py @@ -2293,7 +2293,7 @@ class Client: ) if isinstance(r, types.upload.File): - with tempfile.NamedTemporaryFile('wb', delete=False) as f: + with tempfile.NamedTemporaryFile("wb", delete=False) as f: file_name = f.name while True: @@ -2332,7 +2332,7 @@ class Client: cdn_session.start() try: - with tempfile.NamedTemporaryFile('wb', delete=False) as f: + with tempfile.NamedTemporaryFile("wb", delete=False) as f: file_name = f.name while True: