More debug

merge-requests/8/head
Bob Mottram 2020-10-28 09:48:44 +00:00
parent 823243b044
commit 331e280422
1 changed files with 3 additions and 2 deletions

View File

@ -108,7 +108,7 @@ def manualApproveFollowRequest(session, baseDir: str,
if approveHandle not in approveFollowsStr: if approveHandle not in approveFollowsStr:
print('Manual follow accept: ' + approveHandle + print('Manual follow accept: ' + approveHandle +
' not in requests file ' + approveFollowsFilename + ' not in requests file ' + approveFollowsFilename +
'\n' + approveFollowsStr) '\n"' + approveFollowsStr + '"')
exists = False exists = False
elif '@' in approveHandle: elif '@' in approveHandle:
reqNick = approveHandle.split('@')[0] reqNick = approveHandle.split('@')[0]
@ -125,7 +125,8 @@ def manualApproveFollowRequest(session, baseDir: str,
approveHandleFull = reqPrefix + '/accounts/' + reqNick approveHandleFull = reqPrefix + '/accounts/' + reqNick
if not exists: if not exists:
print('Manual follow accept: ' + approveHandleFull + print('Manual follow accept: ' + approveHandleFull +
' not in requests file ' + approveFollowsFilename) ' not in requests file "' + approveFollowsStr +
'" ' + approveFollowsFilename)
if not exists: if not exists:
return return