Fixed notify function

pull/3/head
Jef Roosens 2021-01-14 16:44:45 +01:00
parent 104ef71128
commit cc2ac332d1
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ class Spec:
for path in tarballs[self.limit - 1:]: for path in tarballs[self.limit - 1:]:
path.unlink() path.unlink()
def notify(status_code): def notify(self, status_code):
if status_code: if status_code:
if "failure" not in self.events: if "failure" not in self.events:
return return