Skip to content

Commit

Permalink
Fix tests on Python < 3.6 (remove f-string)
Browse files Browse the repository at this point in the history
  • Loading branch information
mvantellingen committed May 31, 2017
1 parent 2977440 commit 699d24b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wagtail_personalisation/rules.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ def description(self):

description = {
'title': _('These users visit on'),
'value': _('{}').format(", ".join([f"{day}" for day in chosen_days]).title()),
'value': (', '.join(_(day) for day in chosen_days)).title()
}

return description
Expand Down

0 comments on commit 699d24b

Please sign in to comment.