mirror of
https://github.com/netinvent/npbackup.git
synced 2025-10-18 17:36:06 +08:00
Make sure backup runner always returns a tuple
This commit is contained in:
parent
4a3cd795b8
commit
9a5dd30e7b
1 changed files with 1 additions and 1 deletions
|
@ -493,7 +493,7 @@ class ResticRunner:
|
|||
Executes restic backup after interpreting all arguments
|
||||
"""
|
||||
if not self.is_init:
|
||||
return None
|
||||
return None, None
|
||||
# make sure path is a list and does not have trailing slashes
|
||||
cmd = "backup {}".format(
|
||||
" ".join(['"{}"'.format(path.rstrip("/\\")) for path in paths])
|
||||
|
|
Loading…
Add table
Reference in a new issue