bug fixes, test case fixes

This commit is contained in:
jonaswinkler
2021-01-26 15:19:56 +01:00
parent c1136ac83c
commit c0f185fe7e
3 changed files with 15 additions and 13 deletions

View File

@@ -261,7 +261,7 @@ class DocumentParser(LoggingMixin):
`paperless_tesseract.parsers` for inspiration.
"""
def __init__(self, logging_group, progress_callback):
def __init__(self, logging_group, progress_callback=None):
super().__init__()
self.logging_group = logging_group
os.makedirs(settings.SCRATCH_DIR, exist_ok=True)