tools, plugin XEP-0077: small fixes
This commit is contained in:
parent
afb5e7c9a2
commit
647db64941
1 changed files with 7 additions and 7 deletions
|
|
@ -54,7 +54,7 @@ class TriggerManager(object):
|
|||
if point_name not in self.__triggers:
|
||||
self.__triggers[point_name] = []
|
||||
if priority != 0 and priority in [trigger_tuple[0] for trigger_tuple in self.__triggers[point_name]]:
|
||||
if priority in (MIN_PRIORITY, MAX_PRIORITY):
|
||||
if priority in (self.MIN_PRIORITY, self.MAX_PRIORITY):
|
||||
warning(_("There is already a bound priority [%s]") % point_name)
|
||||
else:
|
||||
debug(_("There is already a trigger with the same priority [%s]") % point_name)
|
||||
|
|
|
|||
Loading…
Reference in a new issue