mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
This commit is contained in:
parent
02eb331494
commit
56c7267631
1 changed files with 1 additions and 1 deletions
|
@ -132,7 +132,7 @@ def query(key, keyid, method='GET', params=None, headers=None,
|
|||
verify=verify_ssl,
|
||||
stream=True)
|
||||
response = result.content
|
||||
elif method == 'GET' and not return_bin:
|
||||
elif method == 'GET' and local_file and not return_bin:
|
||||
result = requests.request(method,
|
||||
requesturl,
|
||||
headers=headers,
|
||||
|
|
Loading…
Add table
Reference in a new issue