Explorar el Código

Merge pull request #1848 from metallerok/fix_expand_item_copying

(#1845) Fix expanded item copying
Peter Bieringer hace 6 meses
padre
commit
6fc237f3bc
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      radicale/app/report.py

+ 1 - 1
radicale/app/report.py

@@ -475,7 +475,7 @@ def _expand(
 
             if not vevent:
                 # Create new instance from recurrence
-                vevent = copy.deepcopy(base_vevent)
+                vevent = base_vevent.duplicate(base_vevent)
 
                 # For all day events, the system timezone may influence the
                 # results, so use recurrence_dt