提交 88652f94 编写于 作者: A Alessio Sergi

Fix super() call

The first argument should be the name of the child class that is calling
super() (GlancesPasswordList in this case).
上级 ef6bd55c
......@@ -31,7 +31,7 @@ class GlancesPasswordList(GlancesPassword):
_section = "passwords"
def __init__(self, config=None, args=None):
super(GlancesPassword, self).__init__()
super(GlancesPasswordList, self).__init__()
# password_dict is a dict (JSON compliant)
# {'host': 'password', ... }
# Load the configuration file
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册