aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_base.py
diff options
context:
space:
mode:
authorGravatar Manuel Ignacio Pérez Alcolea <[email protected]>2019-12-09 02:37:30 -0300
committerGravatar Manuel Ignacio Pérez Alcolea <[email protected]>2019-12-09 02:37:30 -0300
commit34bac05ccc6c11ea370aa14431e4d6d6cd28f1d6 (patch)
tree4cf3a079a387b5263c5850f15c1c59ee97f7f75a /tests/test_base.py
parentAdded optional channel parameter to !echo: (diff)
Ensure hidden_channels and bypass_roles use a list when not passed.
The in_channel decorator raised 'NoneType' is not iterable when it wasn't passed, due to the default value being None but not checked against before iterating over it. This edit ensures the arguments are set to an empty list in cases where they have a value of None instead.
Diffstat (limited to 'tests/test_base.py')
0 files changed, 0 insertions, 0 deletions