mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-09 05:19:41 +00:00
Make lint happier
This commit is contained in:
@@ -77,8 +77,8 @@ def find_user_or_chat(peer, users, chats):
|
||||
return None
|
||||
|
||||
|
||||
def get_appropiate_part_size(file_size):
|
||||
"""Gets the appropiate part size when uploading or downloading files,
|
||||
def get_appropriated_part_size(file_size):
|
||||
"""Gets the appropriated part size when uploading or downloading files,
|
||||
given an initial file size"""
|
||||
if file_size <= 1048576: # 1MB
|
||||
return 32
|
||||
|
Reference in New Issue
Block a user