7

Fix tests on Python < 3.6 (remove f-string)

This commit is contained in:
Michael van Tellingen
2017-05-31 12:11:07 +02:00
parent 2977440ee7
commit 699d24bc44

View File

@ -150,7 +150,7 @@ class DayRule(AbstractBaseRule):
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