mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
Merge pull request #26675 from rallytime/bp-26631
Back-port #26631 to 2015.5
This commit is contained in:
commit
960dbba7ed
@ -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 {}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user