mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-05 03:22:29 +00:00
Make lint happier
This commit is contained in:
@@ -217,6 +217,8 @@ def do_authentication(connection):
|
||||
|
||||
|
||||
def get_int(byte_array, signed=True):
|
||||
"""Gets the specified integer from its byte array. This should be used by the authenticator,
|
||||
who requires the data to be in big endian"""
|
||||
"""Gets the specified integer from its byte array.
|
||||
This should be used by the authenticator,
|
||||
who requires the data to be in big endian
|
||||
"""
|
||||
return int.from_bytes(byte_array, byteorder='big', signed=signed)
|
||||
|
Reference in New Issue
Block a user