diff options
-rw-r--r-- | prolog/engine.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/prolog/engine.py b/prolog/engine.py index 344c1d4..5377ac7 100644 --- a/prolog/engine.py +++ b/prolog/engine.py @@ -89,7 +89,7 @@ def _get_message(reply): where += ': ' # Strip HTML and pengine IDs from the messages. text = strip_html(data) - text = re.sub(r"pengine://[0-9]*/src:[0-9]*: ", '', text) + text = re.sub(r"pengine://[0-9]*/src:([0-9]*:)* ", '', text) text = re.sub(r"'[0-9]{10,}':", '', text) return reply['message'], where + text |