mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Don't require the decode_out file to already exist
This commit is contained in:
parent
1d4246bfd7
commit
f27da41b71
1 changed files with 1 additions and 1 deletions
|
@ -552,7 +552,7 @@ def query(url,
|
|||
else:
|
||||
text = True
|
||||
|
||||
if decode_out and os.path.exists(decode_out):
|
||||
if decode_out:
|
||||
with salt.utils.fopen(decode_out, 'w') as dof:
|
||||
dof.write(result_text)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue