Merge pull request #26675 from rallytime/bp-26631

Back-port #26631 to 2015.5
This commit is contained in:
Colton Myers 2015-08-26 13:44:59 -06:00
commit 960dbba7ed

View File

@ -204,7 +204,7 @@ def get_load(jid):
cur.execute(sql, (jid,))
data = cur.fetchone()
if data:
return json.loads(data)
return json.loads(data[0])
_close_conn(conn)
return {}