add more verbose kwarg to Backup.read_content
This commit is contained in:
@@ -88,6 +88,11 @@ class Backup(Store):
|
|||||||
super().__init__(path)
|
super().__init__(path)
|
||||||
self.trash = Store(self.path / self.TRASH_NAME)
|
self.trash = Store(self.path / self.TRASH_NAME)
|
||||||
|
|
||||||
|
def read_content(self, exclude_trash=True):
|
||||||
|
if not exclude_trash:
|
||||||
|
return super().read_content()
|
||||||
|
return super().read_content(exclude=self.TRASH_NAME)
|
||||||
|
|
||||||
def trash_content(self, content):
|
def trash_content(self, content):
|
||||||
self.trash.move_content(content)
|
self.trash.move_content(content)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user