Set the PL for aliases events to 0.

This commit is contained in:
Richard van der Hoff 2020-01-28 11:08:38 +00:00
parent ee42a5513e
commit b36095ae5c
2 changed files with 16 additions and 3 deletions

View file

@ -449,7 +449,7 @@ def copy_power_levels_contents(
# we should only have one level of nesting
if not isinstance(v1, int):
raise TypeError(
"Invalid power_levels value for %s.%s: %r" % (k, k1, v)
"Invalid power_levels value for %s.%s: %r" % (k, k1, v1)
)
h[k1] = v1
continue