From 49a3632dad29397460194bca9aa3fb22078f4b68 Mon Sep 17 00:00:00 2001 From: Domhnall Morrissey Date: Sun, 26 May 2024 07:38:37 +0100 Subject: [PATCH] V0.57.1 --- src/main.py | 2 +- src/view/treeview_functions.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main.py b/src/main.py index 12eb628..3ddae8e 100644 --- a/src/main.py +++ b/src/main.py @@ -35,7 +35,7 @@ def __init__(self, parent, *args, **kwargs): self.controller = controller.Controller(root, parent, self) # ----------------- VERSION ----------------------- - self.version = "0.57.0" + self.version = "0.57.1" # ----------------- WEEK NUMBER ----------------------- year, week_num, day_of_week = datetime.date.today().isocalendar() diff --git a/src/view/treeview_functions.py b/src/view/treeview_functions.py index 376abb3..43b1965 100644 --- a/src/view/treeview_functions.py +++ b/src/view/treeview_functions.py @@ -66,8 +66,8 @@ def write_data_to_treeview(view, treeview, mode, data, image=None): # if file_extension in branch_tab.filter: # filtered = True if not filtered: - if file_extension in view.known_file_types.keys(): - image = view.known_file_types[file_extension] + if file_extension.lower() in view.known_file_types.keys(): + image = view.known_file_types[file_extension.lower()] if not filtered: if len(d) > 1: