Blocking reasons file

merge-requests/30/head
Bob Mottram 2023-09-03 20:07:22 +01:00
parent 51f19c2256
commit 09b698d02c
1 changed files with 1 additions and 1 deletions

View File

@ -339,7 +339,7 @@ def _add_block_reason(base_dir: str,
domain = remove_domain_port(domain) domain = remove_domain_port(domain)
blocking_reasons_filename = \ blocking_reasons_filename = \
acct_dir(base_dir, nickname, domain) + '/blocking.txt' acct_dir(base_dir, nickname, domain) + '/blocking_reasons.txt'
if not block_nickname.startswith('#'): if not block_nickname.startswith('#'):
# is the handle already blocked? # is the handle already blocked?