add 'prepare()' step for post-processors

This allows post-processors to modify the destination path before
checking if a file already exists.
This commit is contained in:
Mike Fährmann
2018-10-18 22:32:03 +02:00
parent c9861ca812
commit d3d7f01543
5 changed files with 32 additions and 11 deletions

View File

@@ -15,6 +15,9 @@ class PostProcessor():
"""Base class for postprocessors"""
log = log
def prepare(self, pathfmt):
""" """
def run(self, pathfmt):
"""Execute the postprocessor for a file"""