Yenthe V.G
8 years ago
committed by
Dave Lasley
No known key found for this signature in database
GPG Key ID: 7DDBA4BA81B934CF
1 changed files with
4 additions and
1 deletions
-
auto_backup/models/db_backup.py
|
|
@ -205,7 +205,10 @@ class DbBackup(models.Model): |
|
|
|
"<p>%s</p><pre>%s</pre>" % ( |
|
|
|
_("Database backup failed."), |
|
|
|
escaped_tb), |
|
|
|
subtype=self.env.ref("auto_backup.failure")) |
|
|
|
subtype=self.env.ref( |
|
|
|
"auto_backup.mail_message_subtype_failure" |
|
|
|
), |
|
|
|
) |
|
|
|
else: |
|
|
|
_logger.info("Database backup succeeded: %s", self.name) |
|
|
|
self.message_post(_("Database backup succeeded.")) |
|
|
|