Skip to content

Commit

Permalink
Merge pull request #122 from CalamityJames/fix-regex
Browse files Browse the repository at this point in the history
Fixed issue where platforms >10 wouldn't appear
  • Loading branch information
chrisys authored Mar 14, 2024
2 parents 3854ad1 + 6c168e2 commit d81c0d8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.5.4
0.5.5
2 changes: 1 addition & 1 deletion src/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
def parsePlatformData(platform):
if platform is None:
return ""
elif bool(re.match(r'^(?:\d{1,2}[A-D]|[A-D]|\d[A-D]?|\d)$', platform)):
elif bool(re.match(r'^(?:\d{1,2}[A-D]|[A-D]|\d{1,2})$', platform)):
return platform
else:
return ""
Expand Down

0 comments on commit d81c0d8

Please sign in to comment.