From 47176f1ad2f7e3f23f160af85093088564244624 Mon Sep 17 00:00:00 2001 From: Your Name Date: Mon, 15 Jun 2020 14:49:58 -0400 Subject: [PATCH] cmd.py: oeisAdapter argparser no longer removes ':' this enables :list --- lib/adapter/cmd.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/adapter/cmd.py b/lib/adapter/cmd.py index be1df97..5e70c46 100644 --- a/lib/adapter/cmd.py +++ b/lib/adapter/cmd.py @@ -130,10 +130,10 @@ class AdapterOeis(CommandAdapter): cmd[0] = _get_abspath(cmd[0]) # cut oeis/ off - # Replace all non (alphanumeric, '-') chars with Spaces to delimit args to oeis.sh + # Replace all non (alphanumeric, '-', ':') chars with Spaces to delimit args to oeis.sh if topic.startswith("oeis/"): topic = topic[5:] - topic = re.sub('[^a-zA-Z0-9-]+', ' ', topic) + topic = re.sub('[^a-zA-Z0-9-:]+', ' ', topic) return cmd + [topic]