mirror of
https://gitlab.com/jeancf/twoot.git
synced 2025-02-22 08:12:15 +00:00
changed warn() in warning()
This commit is contained in:
parent
6cd4057f9f
commit
55aad8c83c
2
twoot.py
2
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')
|
||||
|
|
Loading…
Reference in New Issue
Block a user