diff options
| author | marcellus <msimon_fr@hotmail.com> | 2023-09-14 22:26:17 +0200 |
|---|---|---|
| committer | marcellus <msimon_fr@hotmail.com> | 2023-09-14 22:26:17 +0200 |
| commit | 0e2d387565cb03c41cef33b9ff01eac5a5cb9132 (patch) | |
| tree | 1bcc8bdf06022ae90874d575040df4cbece28313 /scripts/icstocal | |
| parent | c3b97dfe6a6a39974f60411761b8ceba48e1876b (diff) | |
update: general changes, read the diff
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 = "" |
