diff options
Diffstat (limited to '')
-rw-r--r-- | module/entry-points/import.scm | 4 | ||||
-rw-r--r-- | module/entry-points/server.scm | 4 |
2 files changed, 4 insertions, 4 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] ") diff --git a/module/entry-points/server.scm b/module/entry-points/server.scm index f6d273ba..4810dc0c 100644 --- a/module/entry-points/server.scm +++ b/module/entry-points/server.scm @@ -118,7 +118,7 @@ ;; but you can only query for existance. ;; also, the default output gives everything. (let ((calendar - (find (lambda (c) (string=? cal (attr c 'NAME))) + (find (lambda (c) (string=? cal (prop c 'NAME))) (getf 'calendars)))) (unless calendar @@ -147,7 +147,7 @@ (format #f "~?~%" fmt args))))) (format (current-error-port) - "Event inserted ~a~%" (attr event 'UID)) + "Event inserted ~a~%" (prop event 'UID)) (return '((content-type text/plain)) "Event inserted\r\n")))) |