From: W. Trevor King Date: Sat, 26 Sep 2009 16:39:37 +0000 (-0400) Subject: Fixed invalid TAG error in becommands.subscribe.get_subscribers() X-Git-Tag: 1.0.0~62^2~5 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7ec39c25f302c4b1056885c26508e20200494df6;p=be.git Fixed invalid TAG error in becommands.subscribe.get_subscribers() Check that the string has the right tag before attempting to parse it :p. --- diff --git a/becommands/subscribe.py b/becommands/subscribe.py index 2522f0c..0a23057 100644 --- a/becommands/subscribe.py +++ b/becommands/subscribe.py @@ -325,6 +325,8 @@ def get_subscribers(extra_strings, type, server, type_root, ['Jane Doe ', 'John Doe '] """ for string in extra_strings: + if not string.startswith(TAG): + continue subscriber,types,servers = _parse_string(string, type_root) type_match = False if type in types: