fix misuse of +=

This commit is contained in:
Noah Levitt 2017-06-28 14:19:06 -07:00
parent 2c95a1f2ee
commit 9ea3540d63

View File

@ -231,7 +231,7 @@ def init_controller(args):
class_ = getattr(module_, class_name)
listener = class_()
listener.notify # make sure it has this method
listeners += listener
listeners.append(listener)
except Exception as e:
logging.fatal('problem with plugin class %r: %s', qualname, e)
sys.exit(1)