From 9ea3540d639e583e1c83d23cf199f28435fdc5d7 Mon Sep 17 00:00:00 2001 From: Noah Levitt Date: Wed, 28 Jun 2017 14:19:06 -0700 Subject: [PATCH] fix misuse of += --- warcprox/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/warcprox/main.py b/warcprox/main.py index ca6b305..52ef66d 100644 --- a/warcprox/main.py +++ b/warcprox/main.py @@ -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)