fix download file auto remove % (#1619)
This commit is contained in:
@@ -145,7 +145,7 @@ def get_number_of_files_in_directory(directory: Path, recursive: bool = False) -
|
||||
|
||||
|
||||
def sanitize_filename(filename: str) -> str:
|
||||
return "".join(c for c in filename if c.isalnum() or c in ["-", "_", "."])
|
||||
return "".join(c for c in filename if c.isalnum() or c in ["-", "_", ".", "%", " "])
|
||||
|
||||
|
||||
def rename_file(file_path: str, new_file_name: str) -> str:
|
||||
|
||||
Reference in New Issue
Block a user