From a33eb720b38f2c3f4b12b649a1e575e6bd650b1b Mon Sep 17 00:00:00 2001 From: Luke Murphy Date: Sat, 12 Dec 2020 16:30:46 +0100 Subject: [PATCH] If wanting `--all`, collect magic words as well --- etherpump/commands/pull.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etherpump/commands/pull.py b/etherpump/commands/pull.py index 3948089..3f98fc5 100644 --- a/etherpump/commands/pull.py +++ b/etherpump/commands/pull.py @@ -374,7 +374,7 @@ async def handle_pad(args, padid, data, info, session): ########################################## # INCLUDE __XXX__ MAGIC WORDS ########################################## - if args.magicwords: + if args.all or args.magicwords: pattern = r"__[a-zA-Z0-9]+?__" all_matches = re.findall(pattern, text) magic_words = list(set(all_matches))