Fix typo
This commit is contained in:
parent
006de6f86a
commit
775809b7da
|
|
@ -28,7 +28,7 @@ def sendTeleg(photo, message, config):
|
||||||
print('Telegram module couldn\'t find an image to send.')
|
print('Telegram module couldn\'t find an image to send.')
|
||||||
break
|
break
|
||||||
elif str(err) == 'Media_caption_too_long':
|
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
|
break
|
||||||
else:
|
else:
|
||||||
print('[X] Unknown Telegram error. Message not sent.')
|
print('[X] Unknown Telegram error. Message not sent.')
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue