|
@@ -323,9 +323,9 @@ class FeedBackView(View):
|
|
|
secret_access_key = AWS_SECRET_ACCESS_KEY[1]
|
|
|
bucket = 'foreignpush'
|
|
|
if is_st == 3:
|
|
|
- key = '{uid}/{channel}/{event_time}.jpeg'.format(uid=uid, channel=channel, event_time=event_time)
|
|
|
- else:
|
|
|
key = '{uid}/{channel}/{event_time}_0.jpeg'.format(uid=uid, channel=channel, event_time=event_time)
|
|
|
+ else:
|
|
|
+ key = '{uid}/{channel}/{event_time}.jpeg'.format(uid=uid, channel=channel, event_time=event_time)
|
|
|
try:
|
|
|
s3 = AmazonS3Util(
|
|
|
aws_access_key_id=aws_access_key_id,
|