Ver código fonte

(#1845) Fix expanded item copying

Georgiy 6 meses atrás
pai
commit
7ce41aee37
1 arquivos alterados com 1 adições e 1 exclusões
  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