7429: Fix bug when an empty string is used as custom type
This commit is contained in:
parent
04d976ceee
commit
94adf0909b
@ -276,7 +276,6 @@ class StandardCustomSelector(object):
|
|||||||
instance.
|
instance.
|
||||||
"""
|
"""
|
||||||
if isinstance(event_type, STRTYPE):
|
if isinstance(event_type, STRTYPE):
|
||||||
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]:
|
||||||
|
Loading…
Reference in New Issue
Block a user