mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
parent
b53f171f4c
commit
52716365af
1 changed files with 1 additions and 1 deletions
|
@ -808,7 +808,7 @@ def version(**connection_args):
|
|||
return ''
|
||||
|
||||
try:
|
||||
return cur.fetchone()[0]
|
||||
return salt.utils.data.decode(cur.fetchone()[0])
|
||||
except IndexError:
|
||||
return ''
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue