Merge branch '16-imp-init3' into '16.0'

[IMP][16.0]remove unused code in ebics_init_3

See merge request Noviat/Noviat_Generic/accounting-ebics!8
This commit is contained in:
Luc De Meyer 2023-09-16 16:27:10 +00:00
commit 6f0376fbe4

View File

@ -471,9 +471,6 @@ class EbicsUserID(models.Model):
raise UserError(error) from err
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 = (
"_".join([self.ebics_config_id.ebics_host, "public_bank_keys", fn_date])