This commit is contained in:
Lonami Exo 2018-02-23 21:33:24 +01:00
parent aee04eefe8
commit 91718cde67

View File

@ -266,9 +266,7 @@ class InteractiveTelegramClient(TelegramClient):
os.makedirs('usermedia', exist_ok=True) os.makedirs('usermedia', exist_ok=True)
output = self.download_profile_photo(entity, 'usermedia') output = self.download_profile_photo(entity, 'usermedia')
if output: if output:
print( print('Profile picture downloaded to', output)
'Profile picture downloaded to {}'.format(output)
)
else: else:
print('No profile picture found for this user!') print('No profile picture found for this user!')