mirror of
https://github.com/cquest/tootbot.git
synced 2025-02-23 18:58:36 +00:00
Replace "Source: xxx" by "(xxx)"
This commit is contained in:
parent
850374b9d6
commit
dcbede4f35
@ -265,7 +265,10 @@ if source[:4] == 'http':
|
|||||||
c = c + '…'
|
c = c + '…'
|
||||||
|
|
||||||
if 'authors' in t:
|
if 'authors' in t:
|
||||||
c = c + '\nSource: ' + t.authors[0].name
|
c = c + ('\n(%s) ' % t.authors[0].name)
|
||||||
|
if 'ATEXO' in t.authors[0].name:
|
||||||
|
continue
|
||||||
|
|
||||||
c = c + '\n\n' + t.link
|
c = c + '\n\n' + t.link
|
||||||
|
|
||||||
# replace links to reddit by libreddit ones
|
# replace links to reddit by libreddit ones
|
||||||
|
Loading…
x
Reference in New Issue
Block a user