Skip to content

Commit

Permalink
Merge pull request #109 from joshmoore/fix-versions-561
Browse files Browse the repository at this point in the history
Quick fix of the show downloads regex
  • Loading branch information
joshmoore authored Jan 13, 2020
2 parents edc2340 + f86174f commit fcab285
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion omeroweb/webclient/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,8 @@ def handle_not_logged_in(self, request, error=None, form=None):
if settings.SHOW_CLIENT_DOWNLOADS:
ver = re.match((r'(?P<major>\d+)\.'
r'(?P<minor>\d+)\.'
r'(?P<patch>(dev|a|b|rc)\d+).*'),
r'(?P<patch>\d+\.?)?'
r'(?P<dev>(dev|a|b|rc)\d+)?.*'),
omero_version)
client_download_tag_re = '^v%s\\.%s\\.[^-]+$' % (
ver.group('major'), ver.group('minor'))
Expand Down

0 comments on commit fcab285

Please sign in to comment.