mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-04-21 17:42:01 +03:00
Update string.py
This commit is contained in:
parent
8df66c0b47
commit
d5ee22bacc
|
@ -48,7 +48,7 @@ class StringSession(MemorySession):
|
|||
takeout_id=0
|
||||
)
|
||||
if ip_len == 4:
|
||||
ipv4 = int.from_bytes(ip, 'big', False)
|
||||
ipv4 = int.from_bytes(ip, 'big', signed=False)
|
||||
ipv6 = None
|
||||
else:
|
||||
ipv4 = None
|
||||
|
|
Loading…
Reference in New Issue
Block a user