mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git
synced 2025-01-08 09:01:07 +00:00
Fixed Popen communication
This commit is contained in:
parent
e6ef9be267
commit
b7c8bade4c
4
main.py
4
main.py
|
@ -483,9 +483,9 @@ def ListAllBackups():
|
|||
"snapshots", "--password-file", "/var/lib/restic/rpass", "--json"
|
||||
], shell=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
|
||||
|
||||
backupListingProcessDescriptor.communicate()[0]
|
||||
snapshotsList = backupListingProcessDescriptor.communicate()[0]
|
||||
|
||||
return backupListingProcessDescriptor
|
||||
return snapshotsList
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue