Skip blanks

main
Bob Mottram 2022-11-23 19:00:59 +00:00
parent 4f6a9ff14b
commit a6a54607c1
1 changed files with 2 additions and 0 deletions

View File

@ -91,6 +91,8 @@ def get_account_blocks(base_dir: str,
blocklist = blocking_file_text.split('\n')
for handle in blocklist:
handle = handle.strip()
if not handle:
continue
reason = \
get_global_block_reason(handle,
blocking_reasons_filename)