mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2024-11-22 09:26:37 +03:00
Fix downloading contacts to path (#1197)
This commit is contained in:
parent
e47f3ec1d6
commit
9d6150da37
|
@ -743,7 +743,7 @@ class DownloadMethods(UserMethods):
|
||||||
file, 'contact', '.vcard',
|
file, 'contact', '.vcard',
|
||||||
possible_names=[first_name, phone_number, last_name]
|
possible_names=[first_name, phone_number, last_name]
|
||||||
)
|
)
|
||||||
f = open(file, 'wb', encoding='utf-8')
|
f = open(file, 'wb')
|
||||||
else:
|
else:
|
||||||
f = file
|
f = file
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user