From a6a54607c118e37b1627cd350b2e14ac14dbc31e Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 23 Nov 2022 19:00:59 +0000 Subject: [PATCH] Skip blanks --- blocking.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/blocking.py b/blocking.py index 55defbdf7..3ace738fb 100644 --- a/blocking.py +++ b/blocking.py @@ -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)