aboutsummaryrefslogtreecommitdiff
path: root/module/entry-points/import.scm
diff options
context:
space:
mode:
Diffstat (limited to 'module/entry-points/import.scm')
-rw-r--r--module/entry-points/import.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/entry-points/import.scm b/module/entry-points/import.scm
index 3d372f8a..cc67b448 100644
--- a/module/entry-points/import.scm
+++ b/module/entry-points/import.scm
@@ -30,7 +30,7 @@
(let* ((calendars (getf 'calendars))
(calendar
(and cal-name
- (find (lambda (c) (string=? cal-name (attr c 'NAME)))
+ (find (lambda (c) (string=? cal-name (prop c 'NAME)))
(getf 'calendars)))))
(unless calendar
@@ -41,7 +41,7 @@
(format #t "About to the following ~a events into ~a~%~{~a~^~%~}~%"
(length (children new-events))
- (attr calendar 'NAME)
+ (prop calendar 'NAME)
(map (extract 'SUMMARY) (children new-events)))
(format #t "Continue? [Y/n] ")