mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
The salt client api works! Of course nothing happens yet, but it is closer!
This commit is contained in:
parent
ca05f96697
commit
e96c559064
1 changed files with 1 additions and 1 deletions
|
@ -143,7 +143,7 @@ class ReqServer(threading.Thread):
|
|||
jid_dir = os.path.join(jid_root, jid)
|
||||
if not os.path.isdir(jid_dir):
|
||||
os.makedirs(jid_dir)
|
||||
pickle.dump(load, open(os.path.join(jid_dir, 'load.p')))
|
||||
pickle.dump(load, open(os.path.join(jid_dir, 'load.p'), 'w+'))
|
||||
else:
|
||||
return self._prep_jid(load)
|
||||
return jid
|
||||
|
|
Loading…
Add table
Reference in a new issue