mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2026-01-23 09:22:52 +01:00
Fixing erroneously changed variable name.
This commit is contained in:
parent
5aecfdc725
commit
64fdeec0fe
@ -527,7 +527,7 @@ def list_target_files(config):
|
|||||||
bucket_objects = response.get('Contents', [])
|
bucket_objects = response.get('Contents', [])
|
||||||
backup_list = [(key['Key'][len(path):], key['Size']) for key in bucket_objects]
|
backup_list = [(key['Key'][len(path):], key['Size']) for key in bucket_objects]
|
||||||
except ClientError as e:
|
except ClientError as e:
|
||||||
raise ValueError(msg)
|
raise ValueError(e)
|
||||||
return backup_list
|
return backup_list
|
||||||
if target.scheme == 'b2':
|
if target.scheme == 'b2':
|
||||||
from b2sdk.v1 import InMemoryAccountInfo, B2Api
|
from b2sdk.v1 import InMemoryAccountInfo, B2Api
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user