Skip to content

Commit

Permalink
Fix capitalization for extensions in whats-new.
Browse files Browse the repository at this point in the history
  • Loading branch information
rburema committed Jun 29, 2021
1 parent 3318a7f commit 4f63e5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cura/UI/WhatsNewPagesModel.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def _collectOrdinalFiles(resource_type: int, include: List[str]) -> Tuple[Dict[i
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)
Expand Down

0 comments on commit 4f63e5e

Please sign in to comment.