From 463125bac7727c472b4eebf140efe841e107c74e Mon Sep 17 00:00:00 2001 From: Nathan Woodburn Date: Sun, 25 Feb 2024 12:42:08 +1100 Subject: [PATCH] fix: Don't add https to email --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 9abb0d8..6c2953b 100644 --- a/main.py +++ b/main.py @@ -195,7 +195,7 @@ def site_post(): for i in socials: # Set link to lowercase 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']