From e18b3355d8431f4b28bee57051ff9154270c399f Mon Sep 17 00:00:00 2001 From: vallbull <33630435+vallbull@users.noreply.github.com> Date: Thu, 2 Nov 2023 16:37:57 +0300 Subject: [PATCH] Update lib/dl_file_uploader_worker_lib/dl_file_uploader_worker_lib/tasks/download_yadocs.py Co-authored-by: KonstantAnxiety <58992437+KonstantAnxiety@users.noreply.github.com> --- .../dl_file_uploader_worker_lib/tasks/download_yadocs.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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