diff --git a/omeroweb/webclient/views.py b/omeroweb/webclient/views.py index c1c6233fb0..74bc02fdee 100755 --- a/omeroweb/webclient/views.py +++ b/omeroweb/webclient/views.py @@ -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\d+)\.' r'(?P\d+)\.' - r'(?P(dev|a|b|rc)\d+).*'), + r'(?P\d+\.)?' + r'(?P(dev|a|b|rc)\d+)?.*'), omero_version) client_download_tag_re = '^v%s\\.%s\\.[^-]+$' % ( ver.group('major'), ver.group('minor'))