From afd1ddf4fe55993487539801a4b846a6e21270ee Mon Sep 17 00:00:00 2001 From: Jean Do Date: Thu, 18 Jul 2024 07:28:55 -0400 Subject: [PATCH] bugfix (ty tadeubas) for long directory filenames --- src/krux/pages/file_manager.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/krux/pages/file_manager.py b/src/krux/pages/file_manager.py index b44ed4e0..5686ed35 100644 --- a/src/krux/pages/file_manager.py +++ b/src/krux/pages/file_manager.py @@ -99,9 +99,9 @@ def select_file( if len(filename) >= custom_start_digits + 2 + custom_end_digts: display_filename = ( - filename[:custom_start_digits] + display_filename[:custom_start_digits] + ".." - + filename[len(filename) - custom_end_digts :] + + display_filename[len(filename) - custom_end_digts :] ) menu_items.append( (