From ba6c986977bb3f3d0d91902860c44b664a96b528 Mon Sep 17 00:00:00 2001 From: Javi Melendez Date: Wed, 18 May 2016 09:01:49 +0200 Subject: [PATCH] [FIX] auto_backup: bad reference to field sftp_private_key (#423) Bump module version to 8.0.1.0.1 --- auto_backup/__openerp__.py | 2 +- auto_backup/models/db_backup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/auto_backup/__openerp__.py b/auto_backup/__openerp__.py index b73af7cbe..69979550a 100644 --- a/auto_backup/__openerp__.py +++ b/auto_backup/__openerp__.py @@ -7,7 +7,7 @@ { "name": "Database Auto-Backup", "summary": "Backups database", - "version": "8.0.1.0.0", + "version": "8.0.1.0.1", "author": ( "VanRoey.be - Yenthe Van Ginneken, Agile Business Group," " Grupo ESOC IngenierĂ­a de Servicios," diff --git a/auto_backup/models/db_backup.py b/auto_backup/models/db_backup.py index 832b0118c..14f381168 100644 --- a/auto_backup/models/db_backup.py +++ b/auto_backup/models/db_backup.py @@ -274,7 +274,7 @@ class DbBackup(models.Model): "Trying to connect to sftp://%(username)s@%(host)s:%(port)d", extra=params) if self.sftp_private_key: - params["private_key"] = self.stfpprivatekey + params["private_key"] = self.sftp_private_key if self.sftp_password: params["private_key_pass"] = self.sftp_password else: