diff --git a/app/utils/parse.py b/app/utils/parse.py index c696df7..aa3bf62 100644 --- a/app/utils/parse.py +++ b/app/utils/parse.py @@ -8,5 +8,5 @@ def filename_reduction(filename: str) -> str: """ if len(filename) > 100: pure_filename = filename.split('/')[-1].split('.')[0] - file_path = filename.replace(pure_filename, pure_filename[:100]) - return file_path \ No newline at end of file + file_path = filename.replace(pure_filename, pure_filename[100:]) + return file_path