mirror of
https://gitlab.com/jeancf/twoot.git
synced 2024-11-27 22:11:11 +00:00
Small adjustment
This commit is contained in:
parent
3732392dbf
commit
23d897f42c
6
twoot.py
6
twoot.py
|
@ -976,13 +976,13 @@ def main(argv):
|
||||||
# Add footer with link to original tweet
|
# Add footer with link to original tweet
|
||||||
if TOML['options']['remove_original_tweet_ref'] is False:
|
if TOML['options']['remove_original_tweet_ref'] is False:
|
||||||
if TOML['options']['footer'] != '':
|
if TOML['options']['footer'] != '':
|
||||||
tweet_text += '\nOriginal tweet : ' + substitute_source(full_status_url)
|
tweet_text += '\nOriginal tweet: ' + substitute_source(full_status_url)
|
||||||
else:
|
else:
|
||||||
tweet_text += '\n\nOriginal tweet : ' + substitute_source(full_status_url)
|
tweet_text += '\n\nOriginal tweet: ' + substitute_source(full_status_url)
|
||||||
|
|
||||||
# Check what timestamp would look like
|
# Check what timestamp would look like
|
||||||
logging.debug("TEST TIMESTAMP")
|
logging.debug("TEST TIMESTAMP")
|
||||||
logging.debug(tweet_text + ' ' + time_string)
|
logging.debug(tweet_text + ' (' + time_string + ')')
|
||||||
|
|
||||||
# If no media was specifically added in the tweet, try to get the first picture
|
# If no media was specifically added in the tweet, try to get the first picture
|
||||||
# with "twitter:image" meta tag in first linked page in tweet text
|
# with "twitter:image" meta tag in first linked page in tweet text
|
||||||
|
|
Loading…
Reference in New Issue
Block a user