Removed wrong constructor argument
This commit is contained in:
@@ -38,9 +38,9 @@ class Rspamd(base.Installer):
|
||||
]
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
super().__init__(self, *args, **kwargs)
|
||||
self.generate_password_condition = (not self.upgrade or
|
||||
utils.user_input(
|
||||
super().__init__(*args, **kwargs)
|
||||
self.generate_password_condition = (
|
||||
not self.upgrade or utils.user_input(
|
||||
"Do you want to (re)generate rspamd password ? (y/N)").lower().startswith("y")
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user