Skip to content

Commit

Permalink
bugfix (ty tadeubas) for long directory filenames
Browse files Browse the repository at this point in the history
  • Loading branch information
Jean Do committed Jul 18, 2024
1 parent 7a4bee4 commit afd1ddf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/krux/pages/file_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
(
Expand Down

0 comments on commit afd1ddf

Please sign in to comment.