Browse Source

Fix capitalization for extensions in whats-new.

Remco Burema 3 years ago
parent
commit
4f63e5eaf5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      cura/UI/WhatsNewPagesModel.py

+ 1 - 1
cura/UI/WhatsNewPagesModel.py

@@ -29,7 +29,7 @@ class WhatsNewPagesModel(WelcomePagesModel):
                 for filename in files:
                     basename = os.path.basename(filename)
                     base, ext = os.path.splitext(basename)
-                    if ext not in include or not base.isdigit():
+                    if ext.lower() not in include or not base.isdigit():
                         continue
                     page_no = int(base)
                     highest = max(highest, page_no)