vizro-ai-UI / _utils.py
maxschulz-COL's picture
Initial commit
d65e306
raw
history blame
236 Bytes
"""Utils file."""
def check_file_extension(filename):
filename = filename.lower()
# Check if the filename ends with .csv or .xls
return filename.endswith(".csv") or filename.endswith(".xls") or filename.endswith(".xlsx")