Fix downloading contacts to path (#1197)

This commit is contained in:
Lonami 2019-06-03 15:44:43 +02:00 committed by GitHub
parent e47f3ec1d6
commit 9d6150da37
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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