Skip to content

Commit

Permalink
Remove duplicate and fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
sbesson committed Feb 27, 2015
1 parent 3e76949 commit e479b3b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def clean(self, value):
raise forms.ValidationError('No email.')
if value.count(' ') > 0:
raise forms.ValidationError(
'Use only separator ";". Remove every spaces.')
'Use only separator ";". Remove every space.')
emails = value.split(';')
for email in emails:
if not self.is_valid_email(email):
Expand Down
9 changes: 0 additions & 9 deletions components/tools/OmeroWeb/omeroweb/webclient/decorators.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,15 +153,6 @@ def prepare_context(self, request, context, *args, **kwargs):
reverse("webstart_insight"))
self.load_settings(request, context, conn)

if (settings.WEBSTART and (
not settings.WEBSTART_ADMINS_ONLY or
(conn.isAdmin() or (settings.WEBSTART_ADMINS_ONLY and
len(list(conn.listOwnedGroups())) > 0)))):

context['insight_url'] = request.build_absolute_uri(
reverse("webstart_insight"))
self.load_settings(request, context, conn)

def load_settings(self, request, context, conn):

# Process various settings and add to the template context dict
Expand Down

0 comments on commit e479b3b

Please sign in to comment.