From 775809b7dad6ff7738e084355e6337d390fb6e50 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Tue, 20 Dec 2022 07:53:16 +0100 Subject: [PATCH] Fix typo --- defTelegram.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/defTelegram.py b/defTelegram.py index d56378c..d5da824 100644 --- a/defTelegram.py +++ b/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 \ No newline at end of file + return sent