Commit 26ed4aeb authored by Gaute Hope's avatar Gaute Hope

Fix gettext error for easy crontab task

parent 97e92907
......@@ -188,7 +188,7 @@ def translate_crontab_easy_common (minute, hour, day, month, weekday):
elif minute == "*" and hour != "*":
return (_("At every minute between %(time_from)s and %(time_to)s") % { "time_from": lc_time(hour, 0), "time_to": lc_time(hour, 59) } )
elif hour != "*" and minute != "*":
return (_("On every day at %(time)s") % { "time": lc_time(hour, minute) } )
return (_("On every day at %(time)s").decode('utf-8') % { "time": lc_time(hour, minute) } )
# Day cases
if month == "*" and day != "*" and weekday == "*":
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment