mirror of
https://github.com/viq/NewsBlur.git
synced 2025-09-18 21:43:31 +00:00
No more settings.get.
This commit is contained in:
parent
01974e2706
commit
d677373e3b
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ import boto3
|
|||
from django.conf import settings
|
||||
|
||||
s3 = boto3.resource('s3')
|
||||
bucket = s3.Bucket(settings.get('S3_BACKUP_BUCKET'))
|
||||
bucket = s3.Bucket(settings.S3_BACKUP_BUCKET)
|
||||
|
||||
hostname = socket.gethostname().replace('-','_')
|
||||
filename = f'backup_{hostname}/backup_{hostname}_{time.strftime("%Y-%m-%d-%H-%M")}.rdb.gz'
|
||||
|
|
Loading…
Add table
Reference in a new issue