From cc2ac332d171744ed7c081a37897c52a776d3fde Mon Sep 17 00:00:00 2001 From: Chewing_Bever Date: Thu, 14 Jan 2021 16:44:45 +0100 Subject: [PATCH] Fixed notify function --- backups/app/specs/specs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backups/app/specs/specs.py b/backups/app/specs/specs.py index b171a72..f2971ca 100644 --- a/backups/app/specs/specs.py +++ b/backups/app/specs/specs.py @@ -34,7 +34,7 @@ class Spec: for path in tarballs[self.limit - 1:]: path.unlink() - def notify(status_code): + def notify(self, status_code): if status_code: if "failure" not in self.events: return