Skip to content

Commit

Permalink
Update tagstudio/src/qt/widgets/preview_panel.py
Browse files Browse the repository at this point in the history
Co-authored-by: VasigaranAndAngel <[email protected]>
  • Loading branch information
python357-1 and VasigaranAndAngel authored Jan 13, 2025
1 parent 2cb920a commit 3fae2e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tagstudio/src/qt/widgets/preview_panel.py
Original file line number Diff line number Diff line change
Expand Up @@ -310,9 +310,9 @@ def fill_libs_widget(self, layout: QVBoxLayout):
for access_time in self.driver.cache.library_history:
lib_dir = self.driver.cache.library_history[access_time]
cut_val = lib_dir
if len(str(lib_dir)) > 45:
if len(lib_dir) > 45:
cut_val = f"{lib_dir[0:10]} ... {lib_dir[-10:]}"
lib_items[str(access_time)] = (str(lib_dir), cut_val)
lib_items[access_time] = (lib_dir, cut_val)

new_keys = set(lib_items.keys())

Expand Down

0 comments on commit 3fae2e6

Please sign in to comment.