Compare commits

..

No commits in common. "83361bd9c79c8598835122871c964cfdda7bd777" and "ef49752357b23ce9962a76c0524a236b00b53eb8" have entirely different histories.

View File

@ -79,10 +79,6 @@ class RevocationDocument(AbstractDocument):
# Remove the file itself
super().delete(*args, **kwargs)
if not self.file:
# If (for reasons) no file path has been added to the entry, we act as if the file did not exist
raise ObjectDoesNotExist
# Always remove 'revocation' folder if the one revocation we just processed is the only one left
folder_path = self.file.path.split("/")
if revoc_docs.count() == 0: