improve postprocessor handling
- add pathfmt argument for __init__() - add finalization step - add option to keep or delete zipped files
This commit is contained in:
@@ -12,7 +12,11 @@ from . import log
|
||||
|
||||
|
||||
class PostProcessor():
|
||||
"""Base class for postprocessors"""
|
||||
log = log
|
||||
|
||||
def run(self, pathfmt):
|
||||
raise NotImplementedError()
|
||||
"""Execute the postprocessor for a file"""
|
||||
|
||||
def finalize(self):
|
||||
"""Cleanup"""
|
||||
|
||||
Reference in New Issue
Block a user