main
Bob Mottram 2022-02-28 16:19:26 +00:00
parent 79151137a7
commit 23a2fb8cf5
1 changed files with 11 additions and 12 deletions

View File

@ -738,8 +738,7 @@ def followed_account_accepts(session, base_dir: str, http_prefix: str,
accept_handle = nickname + '@' + domain
# send accept back
if debug:
print('DEBUG: sending Accept activity for ' +
print('Sending follow Accept activity for ' +
'follow request which arrived at ' +
nickname_to_follow + '@' + domain_to_follow +
' back to ' + accept_handle)
@ -747,7 +746,6 @@ def followed_account_accepts(session, base_dir: str, http_prefix: str,
nickname_to_follow, domain_to_follow, port,
person_url, '', http_prefix,
follow_json)
if debug:
pprint(accept_json)
print('DEBUG: sending follow Accept from ' +
nickname_to_follow + '@' + domain_to_follow +
@ -765,7 +763,8 @@ def followed_account_accepts(session, base_dir: str, http_prefix: str,
try:
os.remove(follow_activity_filename)
except OSError:
print('EX: followed_account_accepts unable to delete ' +
print('EX: follow Accept ' +
'followed_account_accepts unable to delete ' +
follow_activity_filename)
group_account = False