diff options
Diffstat (limited to 'libbe/comment.py')
-rw-r--r-- | libbe/comment.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbe/comment.py b/libbe/comment.py index bf14920..1e2ef1a 100644 --- a/libbe/comment.py +++ b/libbe/comment.py @@ -591,7 +591,7 @@ class Comment(Tree, settings_object.SavedSettingsObject): self.set_sync_with_disk(False) def remove(self): - if self.sync_with_disk == False: + if self.sync_with_disk == False and self.uuid != INVALID_UUID: raise DiskAccessRequired("remove") for comment in self.traverse(): path = comment.get_path() |