Skip to content

Commit

Permalink
fix: roots do not have a setter
Browse files Browse the repository at this point in the history
  • Loading branch information
Erik Cederstrand committed Jun 6, 2024
1 parent 348a8f3 commit e55aefa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion exchangelib/folders/roots.py
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,8 @@ def _folders_map(self):
if fix_parents:
with self._subfolders_lock:
for f in res.values():
f.parent = None if f.id == self.id else self
if f.id != self.id:
f.parent = self
return res

def get_children(self, folder):
Expand Down

0 comments on commit e55aefa

Please sign in to comment.