Skip to content

Commit

Permalink
convert string response to json
Browse files Browse the repository at this point in the history
  • Loading branch information
scriptingislife committed Feb 5, 2020
1 parent c1a5855 commit 16d6220
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/logging_help.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

import os
import boto3
import json
import base64
import requests
from requests.auth import HTTPBasicAuth
Expand Down Expand Up @@ -70,7 +71,7 @@ def log_scan(db_data):
logdna = ''

try:
logdna = get_secret()
logdna = json.loads(get_secret())
except Exception as e:
print(e)

Expand Down

0 comments on commit 16d6220

Please sign in to comment.