diff --git a/lib/dl_file_uploader_worker_lib/dl_file_uploader_worker_lib/tasks/download_yadocs.py b/lib/dl_file_uploader_worker_lib/dl_file_uploader_worker_lib/tasks/download_yadocs.py index 9d838fcc7..0df46a266 100644 --- a/lib/dl_file_uploader_worker_lib/dl_file_uploader_worker_lib/tasks/download_yadocs.py +++ b/lib/dl_file_uploader_worker_lib/dl_file_uploader_worker_lib/tasks/download_yadocs.py @@ -88,8 +88,8 @@ async def run(self) -> TaskResult: return Success() dfile.filename = spreadsheet_meta["name"] - xslx_suffix = ".xlsx" - if not dfile.filename.endswith(xslx_suffix): + xlsx_suffix = ".xlsx" + if not dfile.filename.endswith(xlsx_suffix): raise exc.UnsupportedDocument s3 = self._ctx.s3_service