From 66f885dd1d1fb55ef49e0f7c40013bc452c80094 Mon Sep 17 00:00:00 2001 From: "matthias@arch" Date: Wed, 29 Sep 2021 16:21:00 +0200 Subject: [PATCH] Failed files are also written to history --- nicole/nicole.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nicole/nicole.py b/nicole/nicole.py index 9287f58..60bc8fc 100644 --- a/nicole/nicole.py +++ b/nicole/nicole.py @@ -169,9 +169,9 @@ class Nicole: # add to history if self.write_history: - if success and entry not in self.history: + if entry not in self.history: self.history.append(entry) - elif not success: + if not success: self.failed.append(entry) if not self.silent: