mirror of https://github.com/Chizi123/Arch-autobuild-repo.git

Joel Grunbaum
5 hours ago cf7fcc2bd3c99b5eb4bdfac2752bee2b82a593f7
src/archrepobuild/notifications.py
@@ -106,7 +106,7 @@
    async def send(self, summary: BuildSummary, config: Config) -> bool:
        """Send email notification."""
        if not self.config.enabled and (self.config.email_everytime or summary.failed == 0):
        if not self.config.enabled and ((not self.config.email_everytime) and summary.failed == 0):
            return True
        if not self.config.to: