mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-06-04 03:04:23 +08:00
Fix capitalization for extensions in whats-new.
This commit is contained in:
parent
3318a7ff85
commit
4f63e5eaf5
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user