Failed files are also written to history

This commit is contained in:
matthias@arch 2021-09-29 16:21:00 +02:00
parent 8d91351270
commit 66f885dd1d

View File

@ -169,9 +169,9 @@ class Nicole:
# add to history # add to history
if self.write_history: if self.write_history:
if success and entry not in self.history: if entry not in self.history:
self.history.append(entry) self.history.append(entry)
elif not success: if not success:
self.failed.append(entry) self.failed.append(entry)
if not self.silent: if not self.silent: