fix: Don't add https to email
This commit is contained in:
parent
63c8d9923e
commit
463125bac7
2
main.py
2
main.py
@ -195,7 +195,7 @@ def site_post():
|
|||||||
for i in socials:
|
for i in socials:
|
||||||
# Set link to lowercase
|
# Set link to lowercase
|
||||||
i['url'] = i['url'].lower()
|
i['url'] = i['url'].lower()
|
||||||
if not i['url'].startswith('http'):
|
if not i['url'].startswith('http') and i['name'] != 'email':
|
||||||
i['url'] = 'https://' + i['url']
|
i['url'] = 'https://' + i['url']
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user