diff options
| -rwxr-xr-x | log-tz-convert-znc-NL.py (renamed from log-tz-convert.py) | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/log-tz-convert.py b/log-tz-convert-znc-NL.py index 85d3f54..05e1042 100755 --- a/log-tz-convert.py +++ b/log-tz-convert-znc-NL.py @@ -96,7 +96,7 @@ def convert_logfile(filename, logger): timestamp = calendar.timegm((Y, m, d, H, M, S)) - 2*3600 elif (m, d) == enterdst and (2, 0, 0) <= (H, M, S) < (3, 0, 0): - raise f"Invalid time in limbo between CET and CEST: {f!r}: {line!r}" + raise Exception(f"Invalid time in limbo between CET and CEST: {filename!r}: {line!r}") elif (m, d) == leavedst and (2, 0, 0) <= (H, M, S) < (3, 0, 0): # ambiguous interval: either before or after the CEST->CET switch |
