From f30d24bd76004b57e5695b4db248223c38857c89 Mon Sep 17 00:00:00 2001 From: aturret Date: Wed, 8 Nov 2023 23:53:20 -0500 Subject: [PATCH] Update parse.py --- app/utils/parse.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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