Skip to content

Commit

Permalink
Commented out file type validation check in download_blob.py
Browse files Browse the repository at this point in the history
  • Loading branch information
dmccoystephenson committed Sep 18, 2024
1 parent 566061e commit 54ca26a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions services/addons/images/firmware_manager/download_blob.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,11 @@ def validate_file_type(file_name):
Args:
file_name (str): The name of the file to be downloaded.
"""
if not file_name.endswith(".tar"):
logging.error(
f"Unsupported file type for storage object {file_name}. Only .tar files are supported."
)
return False
# if not file_name.endswith(".tar.sig"):
# logging.error(
# f"Unsupported file type for storage object {file_name}. Only .tar.sig files are supported."
# )
# return False
return True


Expand Down

0 comments on commit 54ca26a

Please sign in to comment.