mirror of https://github.com/fail2ban/fail2ban
Undo removal of unicode prefix in server/datetemplate.py
parent
31b173f032
commit
3a3d07ef39
|
@ -164,7 +164,7 @@ class DateStrptime(DateTemplate):
|
|||
# that the log is not from this year but from the year before
|
||||
if time.mktime(tuple(date)) > MyTime.time():
|
||||
logSys.debug(
|
||||
"Correcting deduced year from %d to %d since %f > %f" %
|
||||
u"Correcting deduced year from %d to %d since %f > %f" %
|
||||
(date[0], date[0]-1, time.mktime(tuple(date)), MyTime.time()))
|
||||
date[0] -= 1
|
||||
elif date[1] == 1 and date[2] == 1:
|
||||
|
|
Loading…
Reference in New Issue