Debug wording

main
Bob Mottram 2022-03-13 12:09:52 +00:00
parent 97b4609a75
commit e001a54f64
1 changed files with 2 additions and 2 deletions

View File

@ -108,8 +108,8 @@ def _remove_from_follow_base(base_dir: str,
approve_follows_filename = accounts_dir + '/' + follow_file + '.txt' approve_follows_filename = accounts_dir + '/' + follow_file + '.txt'
if not os.path.isfile(approve_follows_filename): if not os.path.isfile(approve_follows_filename):
if debug: if debug:
print('WARN: Approve follow requests file ' + print('There is no ' + follow_file +
approve_follows_filename + ' not found') ' to remove ' + handle + ' from')
return return
accept_deny_actor = None accept_deny_actor = None
if accept_or_deny_handle not in open(approve_follows_filename).read(): if accept_or_deny_handle not in open(approve_follows_filename).read():