From 55aad8c83c9ec1146ceb44f2d9c6d7239b157d09 Mon Sep 17 00:00:00 2001 From: jeancf Date: Thu, 1 Dec 2022 14:03:52 +0100 Subject: [PATCH] changed warn() in warning() --- twoot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/twoot.py b/twoot.py index e72371c..9aa6421 100755 --- a/twoot.py +++ b/twoot.py @@ -434,7 +434,7 @@ def process_attachments(nitter_url, attachments_container, status_id, author_acc try: ydl.download([video_file]) except Exception as e: - logging.warn('Error downloading twitter video: ' + str(e)) + logging.warning('Error downloading twitter video: ' + str(e)) vid_in_tweet = True else: logging.debug('downloaded twitter video from attachments')