mirror of
https://github.com/internetarchive/warcprox.git
synced 2025-01-18 13:22:09 +01:00
fix misuse of +=
This commit is contained in:
parent
2c95a1f2ee
commit
9ea3540d63
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user