mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #26675 from rallytime/bp-26631
Back-port #26631 to 2015.5
This commit is contained in:
commit
960dbba7ed
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue