7429: Fix bug when an empty string is used as custom type
This commit is contained in:
parent
27c25b876d
commit
c31dfcb767
@ -271,8 +271,7 @@ class StandardCustomSelector(object):
|
||||
instance.
|
||||
"""
|
||||
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):
|
||||
if event_type[1]:
|
||||
return (event_type[0], event_type[1])
|
||||
|
Loading…
Reference in New Issue
Block a user