From be77f5e76c2c6aab88f850ed1be5a8004dabec12 Mon Sep 17 00:00:00 2001 From: Faiz Ahmed <32914211+Sleepingpirates@users.noreply.github.com> Date: Wed, 4 Aug 2021 19:24:08 -0400 Subject: [PATCH] fixed error with case sensitive email entries --- app/bot/helper/plexhelper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/bot/helper/plexhelper.py b/app/bot/helper/plexhelper.py index 970e263..54596f8 100644 --- a/app/bot/helper/plexhelper.py +++ b/app/bot/helper/plexhelper.py @@ -66,7 +66,7 @@ def plexremoveinvite(plex, plexname): ''' def verifyemail(addressToVerify): regex = '^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,})$' - match = re.match(regex, addressToVerify) + match = re.match(regex, addressToVerify.lower()) if match == None: return False else: