diff options
| author | Tom Smeding <tom@tomsmeding.com> | 2026-05-08 01:05:28 +0200 |
|---|---|---|
| committer | Tom Smeding <tom@tomsmeding.com> | 2026-05-08 01:05:28 +0200 |
| commit | 5ba0fc25d8bfdaedd1a8ff7743ed2b0224d34ff3 (patch) | |
| tree | 731c4d954084a977ae34dbaecc34fd46a56ec36f | |
| parent | b1429cd1cf064b69cd4bf8935885bba2e9dcfcb1 (diff) | |
Rename log-tz-convert.py to -znc-NL
| -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 |
