Skip to content

Commit

Permalink
Changed parameters of rsync to a list
Browse files Browse the repository at this point in the history
  • Loading branch information
JosepSampe committed Nov 11, 2017
1 parent 2dd7ad5 commit ef73c9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/api/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ def rsync_dir_with_nodes(directory):
data = {'directory': directory, 'dest_directory': dest_directory, 'node_ip': node['ip'],
'ssh_username': node['ssh_username'], 'ssh_password': node['ssh_password']}

threading.Thread(target=rsync, args=data).start()
threading.Thread(target=rsync, args=(data,)).start()


def rsync(data):
Expand Down

0 comments on commit ef73c9c

Please sign in to comment.