Removed wrong constructor argument

This commit is contained in:
Antoine Nguyen
2025-05-13 10:43:37 +02:00
parent 95e2010957
commit a9ae8c50ad

View File

@@ -38,9 +38,9 @@ class Rspamd(base.Installer):
] ]
def __init__(self, *args, **kwargs): def __init__(self, *args, **kwargs):
super().__init__(self, *args, **kwargs) super().__init__(*args, **kwargs)
self.generate_password_condition = (not self.upgrade or self.generate_password_condition = (
utils.user_input( not self.upgrade or utils.user_input(
"Do you want to (re)generate rspamd password ? (y/N)").lower().startswith("y") "Do you want to (re)generate rspamd password ? (y/N)").lower().startswith("y")
) )