|
@@ -336,7 +336,7 @@ class LogManagementView(View):
|
|
|
)
|
|
|
for app_log in app_log_list:
|
|
|
filename = app_log['filename']
|
|
|
- if not filename.endswith('.txt'):
|
|
|
+ if not filename.endswith('.txt') and not filename.endswith('.db'):
|
|
|
filename += ".txt"
|
|
|
obj = 'app_log/' + app_log['user_id'] + '/{}'.format(filename)
|
|
|
appLog_url = aws_s3_client.generate_presigned_url(
|