From 2276b5661bf2527020e2289b94fa8addc4e2e93d Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 29 Dec 2019 13:05:33 +0000 Subject: [PATCH] Remove debug --- manualapprove.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/manualapprove.py b/manualapprove.py index b78d00bf8..7014d5775 100644 --- a/manualapprove.py +++ b/manualapprove.py @@ -77,13 +77,11 @@ def manualApproveFollowRequest(session,baseDir: str, \ accountDir=baseDir+'/accounts/'+handle approveFollowsFilename=accountDir+'/followrequests.txt' if not os.path.isfile(approveFollowsFilename): - if debug: - print('Manual follow accept: follow requests file '+approveFollowsFilename+' not found') + print('Manual follow accept: follow requests file '+approveFollowsFilename+' not found') return # is the handle in the requests file? if approveHandle not in open(approveFollowsFilename).read(): - if debug: - print('Manual follow accept: '+approveHandle+' not in requests file '+approveFollowsFilename) + print('Manual follow accept: '+approveHandle+' not in requests file '+approveFollowsFilename) return approvefilenew = open(approveFollowsFilename+'.new', 'w+')