Skip to content

Commit

Permalink
Update lib/dl_file_uploader_worker_lib/dl_file_uploader_worker_lib/ta…
Browse files Browse the repository at this point in the history
…sks/download_yadocs.py

Co-authored-by: KonstantAnxiety <[email protected]>
  • Loading branch information
vallbull and KonstantAnxiety authored Nov 2, 2023
1 parent f82bc38 commit e18b335
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e18b335

Please sign in to comment.