add more verbose kwarg to Backup.read_content
This commit is contained in:
1 parent
8d3bf00b09
commit
f522f394f3
1 file changed
+5
@@ -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