Removed not needed json import
This commit is contained in:
parent
9c70e5f91a
commit
eb912b48bf
@ -58,7 +58,6 @@ $$
|
|||||||
# Execute returns string, not json :(
|
# Execute returns string, not json :(
|
||||||
response = plpy.execute("SELECT value FROM cartodb.CDB_CONF WHERE KEY = '%s'" % key);
|
response = plpy.execute("SELECT value FROM cartodb.CDB_CONF WHERE KEY = '%s'" % key);
|
||||||
if len(response) > 0:
|
if len(response) > 0:
|
||||||
import json
|
|
||||||
value = response[0]['value']
|
value = response[0]['value']
|
||||||
SD['conf'][key] = value
|
SD['conf'][key] = value
|
||||||
return SD['conf'][key]
|
return SD['conf'][key]
|
||||||
|
Loading…
Reference in New Issue
Block a user