7429: Fix bug when an empty string is used as custom type

This commit is contained in:
Nick Hall 2014-02-02 15:35:19 +00:00
parent 27c25b876d
commit c31dfcb767

View File

@ -271,7 +271,6 @@ class StandardCustomSelector(object):
instance. instance.
""" """
if isinstance(event_type, basestring): if isinstance(event_type, basestring):
if event_type:
return (self.custom_key, event_type) return (self.custom_key, event_type)
elif isinstance(event_type, tuple): elif isinstance(event_type, tuple):
if event_type[1]: if event_type[1]: