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')