Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRemco Burema <r.burema@ultimaker.com>2021-06-29 12:40:20 +0300
committerRemco Burema <r.burema@ultimaker.com>2021-06-29 12:40:20 +0300
commit4f63e5eaf5cb981532b7252ef284438addf73a06 (patch)
tree15501670cd3ad54b943246508fa9fc6ced638450
parent3318a7ff8551273e23033df6d232fdf2790fc893 (diff)
Fix capitalization for extensions in whats-new.4.10.04.10
-rw-r--r--cura/UI/WhatsNewPagesModel.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cura/UI/WhatsNewPagesModel.py b/cura/UI/WhatsNewPagesModel.py
index db0f4b3a74..11320a0ebb 100644
--- a/cura/UI/WhatsNewPagesModel.py
+++ b/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)