From 31eb92d6cc3fc311a0837bb45e364bb881a970a9 Mon Sep 17 00:00:00 2001 From: Luc De Meyer Date: Thu, 16 Jul 2020 08:57:06 +0200 Subject: [PATCH] fix migration script --- account_ebics/migrations/13.0.1.1/post-migration.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/account_ebics/migrations/13.0.1.1/post-migration.py b/account_ebics/migrations/13.0.1.1/post-migration.py index 9e9937e..a34c97d 100644 --- a/account_ebics/migrations/13.0.1.1/post-migration.py +++ b/account_ebics/migrations/13.0.1.1/post-migration.py @@ -22,7 +22,7 @@ def _ebics_config_upgrade(env, version): keys_fn_old = cfg_data['ebics_keys'] ebics_keys_root = os.path.dirname(keys_fn_old) if os.path.isfile(keys_fn_old): - keys_fn = ebics_keys_root + '/' + cfg_data['ebics_user'] + keys_fn = ebics_keys_root + '/' + cfg_data['ebics_user'] + '_keys' os.rename(keys_fn_old, keys_fn) state = cfg_data['state'] == 'active' and 'confirm' or 'draft' cfg.write({