Sfoglia il codice sorgente

add the Apple iCal namespace to registry

Lukasz Langa 15 anni fa
parent
commit
663fda4ecb
1 ha cambiato i file con 3 aggiunte e 1 eliminazioni
  1. 3 1
      radicale/xmlutils.py

+ 3 - 1
radicale/xmlutils.py

@@ -35,7 +35,9 @@ from radicale import client, config, ical
 NAMESPACES = {
     "C": "urn:ietf:params:xml:ns:caldav",
     "D": "DAV:",
-    "CS": "http://calendarserver.org/ns/"}
+    "CS": "http://calendarserver.org/ns/",
+    "ICAL": "http://apple.com/ns/ical/",
+}
 
 
 for short, url in NAMESPACES.items():