From fe4edd41534bf4ca96affbf279298422a5d0659e Mon Sep 17 00:00:00 2001 From: Trenton H <797416+stumpylog@users.noreply.github.com> Date: Mon, 5 Feb 2024 09:34:33 -0800 Subject: [PATCH] Fixes the function call --- src/documents/management/commands/document_thumbnails.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/documents/management/commands/document_thumbnails.py b/src/documents/management/commands/document_thumbnails.py index 9b8554cac..d4653f0b3 100644 --- a/src/documents/management/commands/document_thumbnails.py +++ b/src/documents/management/commands/document_thumbnails.py @@ -72,7 +72,7 @@ class Command(MultiProcessMixin, ProgressBarMixin, BaseCommand): if self.process_count == 1: for doc_id in ids: - self._process_document(doc_id) + _process_document(doc_id) else: # pragma: no cover with multiprocessing.Pool(processes=self.process_count) as pool: list(