mirror of
https://gitlab.com/jeancf/twoot.git
synced 2025-02-23 08:38:30 +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:
|
try:
|
||||||
ydl.download([video_file])
|
ydl.download([video_file])
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
logging.warn('Error downloading twitter video: ' + str(e))
|
logging.warning('Error downloading twitter video: ' + str(e))
|
||||||
vid_in_tweet = True
|
vid_in_tweet = True
|
||||||
else:
|
else:
|
||||||
logging.debug('downloaded twitter video from attachments')
|
logging.debug('downloaded twitter video from attachments')
|
||||||
|
|
Loading…
Reference in New Issue
Block a user