mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fix path for the file opening
This commit is contained in:
parent
b85075d94a
commit
07cb8ec97b
1 changed files with 1 additions and 1 deletions
|
@ -221,7 +221,7 @@ class ReqServer(threading.Thread):
|
|||
hn_dir = os.path.join(jid_dir, load['hostname'])
|
||||
if not os.path.isdir(hn_dir):
|
||||
os.makedirs(hn_dir)
|
||||
pickle.dump(load['return'], os.path.join(hn_dir, 'return.p'))
|
||||
pickle.dump(load['return'], open(os.path.join(hn_dir, 'return.p'), 'w+'))
|
||||
|
||||
def publish(self, load):
|
||||
'''
|
||||
|
|
Loading…
Add table
Reference in a new issue