[IMP][16.0]remove unused code in ebics_init_3

This commit is contained in:
Luc De Meyer 2023-09-16 18:22:00 +02:00
parent 1133dd42c0
commit 4af818026d

View File

@ -471,9 +471,6 @@ class EbicsUserID(models.Model):
raise UserError(error) from err raise UserError(error) from err
public_bank_keys = public_bank_keys.encode() public_bank_keys = public_bank_keys.encode()
tmp_dir = os.path.normpath(self.ebics_config_id.ebics_keys + "/tmp")
if not os.path.isdir(tmp_dir):
os.makedirs(tmp_dir, mode=0o700)
fn_date = fields.Date.today().isoformat() fn_date = fields.Date.today().isoformat()
fn = ( fn = (
"_".join([self.ebics_config_id.ebics_host, "public_bank_keys", fn_date]) "_".join([self.ebics_config_id.ebics_host, "public_bank_keys", fn_date])