Fix tests on Python < 3.6 (remove f-string)
This commit is contained in:
@ -150,7 +150,7 @@ class DayRule(AbstractBaseRule):
|
|||||||
|
|
||||||
description = {
|
description = {
|
||||||
'title': _('These users visit on'),
|
'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
|
return description
|
||||||
|
Reference in New Issue
Block a user