Browse Source

Fix typo

pull/100/head
Christian Clauss 2 years ago committed by GitHub
parent
commit
775809b7da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      defTelegram.py

4
defTelegram.py

@ -28,11 +28,11 @@ def sendTeleg(photo, message, config):
print('Telegram module couldn\'t find an image to send.')
break
elif str(err) == 'Media_caption_too_long':
print('Telegram image caption lenght exceeds 1024 characters. Message not send.')
print('Telegram image caption length exceeds 1024 characters. Message not send.')
break
else:
print('[X] Unknown Telegram error. Message not sent.')
break
else:
print("Telegram message successfully sent.")
return sent
return sent

Loading…
Cancel
Save