From ba2d785ada06c627fdb870900a470cb284f41a3d Mon Sep 17 00:00:00 2001 From: Illia Chub Date: Wed, 27 Oct 2021 13:30:24 +0300 Subject: [PATCH] Update 'main.py' --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 9631e67..c073fdf 100755 --- a/main.py +++ b/main.py @@ -480,7 +480,7 @@ def EnableOcserv(): def ListAllBackups(): backupListingCommand = ''' - restic -r b2:{0}:/sfbackup snapshots list --password-file /var/lib/restic/rpass --json + restic -r b2:{0}:/sfbackup snapshots --password-file /var/lib/restic/rpass --json '''.format(request.headers.get("X-Repository-Name")) backupListingProcessDescriptor = subprocess.Popen(backupListingCommand, shell=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)