瀏覽代碼

(#1845) Fix expanded item copying

Georgiy 6 月之前
父節點
當前提交
7ce41aee37
共有 1 個文件被更改,包括 1 次插入1 次删除
  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