Skip to content

Commit

Permalink
pep8
Browse files Browse the repository at this point in the history
  • Loading branch information
tino097 committed Oct 12, 2017
1 parent 8d054ee commit 48556ff
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions ckan/lib/helpers.py
Expand Up @@ -2550,11 +2550,9 @@ def mail_to(email_address, name):
def radio(selected, id, checked):
if checked:
return literal((u'<input checked="checked" id="%s_%s" name="%s" \
value="%s" type="radio">'
) % (selected, id, selected, id))
value="%s" type="radio">') % (selected, id, selected, id))
return literal(('<input id="%s_%s" name="%s" \
value="%s" type="radio">'
) % (selected, id, selected, id))
value="%s" type="radio">') % (selected, id, selected, id))


core_helper(flash, name='flash')
Expand Down

0 comments on commit 48556ff

Please sign in to comment.