mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git
synced 2025-02-16 22:34:32 +00:00
debug string
This commit is contained in:
parent
52336b885d
commit
471704afa8
|
@ -236,7 +236,11 @@ class ResticBackupper(AbstractBackupper):
|
|||
stdout=subprocess.PIPE,
|
||||
shell=False,
|
||||
) as handle:
|
||||
output = handle.communicate()[0].decode("utf-8")
|
||||
if handle.returncode != 0:
|
||||
print("repo is not initted")
|
||||
print("returncode", handle.returncode)
|
||||
print("output", output)
|
||||
return False
|
||||
return True
|
||||
|
||||
|
|
Loading…
Reference in a new issue