From a9ae8c50ad2034616350329487b2093396326312 Mon Sep 17 00:00:00 2001 From: Antoine Nguyen Date: Tue, 13 May 2025 10:43:37 +0200 Subject: [PATCH] Removed wrong constructor argument --- modoboa_installer/scripts/rspamd.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/modoboa_installer/scripts/rspamd.py b/modoboa_installer/scripts/rspamd.py index 6e58fcf..c45681c 100644 --- a/modoboa_installer/scripts/rspamd.py +++ b/modoboa_installer/scripts/rspamd.py @@ -38,11 +38,11 @@ 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( - "Do you want to (re)generate rspamd password ? (y/N)").lower().startswith("y") - ) + 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") + ) @property def config_dir(self):