Add [Mirror] to the name, to make it clear it is a mirror

This commit is contained in:
Bofh 2021-02-08 10:55:05 +01:00
parent 6bc65217d3
commit 7d7bd45088
1 changed files with 3 additions and 1 deletions

View File

@ -280,8 +280,10 @@ def pixelfed_setpic(acc_id, pic_url, count=0):
return True
def pixelfed_setinfo(acc_id, bio, website, count=0):
name = accdata['name']
if count == 0:
bio = 'Mirrored from Instagram: https://www.instagram.com/{}\n\n{}'.format(acc_id, bio)
bio = 'Mirrored from Instagram: https://www.instagram.com/{} | {}'.format(acc_id, bio)
name = accdata['name'] + ' [Mirror]'
count += 1
pixelfed_login(acc_id)