Skip to content

Commit 3f72b04

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 71d6e5b commit 3f72b04

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

khal/controllers.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -581,8 +581,8 @@ def edit_event(event, collection, locale, allow_quit=False, width=80):
581581
try:
582582
start, end, allday = parse_datetime.guessrangefstr(ansi.sub("", value), locale)
583583
if not allday:
584-
start = locale['local_timezone'].localize(start)
585-
end = locale['local_timezone'].localize(end)
584+
start = locale["local_timezone"].localize(start)
585+
end = locale["local_timezone"].localize(end)
586586
event.update_start_end(start, end)
587587
edited = True
588588
except Exception:

0 commit comments

Comments
 (0)