diff options
| author | Martial Simon <msimon_fr@hotmail.com> | 2023-12-13 07:46:56 +0100 |
|---|---|---|
| committer | Martial Simon <msimon_fr@hotmail.com> | 2023-12-13 07:46:56 +0100 |
| commit | 09710a3463bc4a90e797d29b4955af1831a84e98 (patch) | |
| tree | a50ec957130e7573af00fa13af502374edf8c400 /scripts/icstocal | |
| parent | bcf8aade269e9fcf6a1a1dcca63d21269f03ae9d (diff) | |
| parent | 1b7402b9e0d623cab9284aada81fb5429cf662e7 (diff) | |
Merge branch 'main' of github.com:Laitram31/.config
Diffstat (limited to 'scripts/icstocal')
| -rwxr-xr-x | scripts/icstocal | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/icstocal b/scripts/icstocal index 3d086ca..9bff2be 100755 --- a/scripts/icstocal +++ b/scripts/icstocal @@ -68,7 +68,8 @@ while line != "END:VCALENDAR\n": starts.append([year, month, day, hour, min]) elif line.startswith("DTEND"): end = line.lstrip("DTEND") - while start[n] != ":": + n = 0 + while end[n] != ":": n+=1 hour = "" min = "" |
