From ec8860f78252a5f813e70ca45039871479117236 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Thu, 28 Nov 2019 09:39:53 +0000 Subject: [PATCH] Variable names --- manualapprove.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/manualapprove.py b/manualapprove.py index cc0ce824c..3aa1012fa 100644 --- a/manualapprove.py +++ b/manualapprove.py @@ -45,8 +45,8 @@ def manualDenyFollowRequest(session,baseDir: str, \ rejectsFile.close() denyNickname=denyHandle.split('@')[0] - approveDomain=denyHandle.split('@')[1].replace('\n','') - approvePort=port + denyDomain=denyHandle.split('@')[1].replace('\n','') + denyPort=port if ':' in denyDomain: denyPort=denyDomain.split(':')[1] denyDomain=denyDomain.split(':')[0]