From efd435befd1f6be1a2fca875a7e332690c198519 Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Thu, 8 Mar 2018 10:09:03 +0100 Subject: [PATCH] Use snake_case style --- 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 f62454d7..0170169e 100644 --- a/pyrogram/client/client.py +++ b/pyrogram/client/client.py @@ -1346,7 +1346,7 @@ class Client: """ style = self.html if parse_mode.lower() == "html" else self.markdown file = self.save_file(video) - fileThumb = None if thumb is None else self.save_file(thumb) + file_thumb = None if thumb is None else self.save_file(thumb) while True: try: @@ -1356,7 +1356,7 @@ class Client: media=types.InputMediaUploadedDocument( mime_type=mimetypes.types_map[".mp4"], file=file, - thumb=fileThumb, + thumb=file_thumb, attributes=[ types.DocumentAttributeVideo( supports_streaming=supports_streaming,