Skip to content

Commit

Permalink
Update SimpleSync.py
Browse files Browse the repository at this point in the history
  • Loading branch information
gfreezy committed Jul 31, 2012
1 parent a7e6c4a commit b2399f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SimpleSync.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,6 @@ def on_post_save(self, view):
remote_file = local_file.replace(item["local"], item["remote"])

if (item["type"] == "ssh"):
ScpCopier(item["host"], item["username"], local_file, remote_file).start()
ScpCopier(item["host"], item["username"], local_file, remote_file, port=item["port"]).start()
elif (item["type"] == "local"):
LocalCopier(local_file, remote_file).start()

0 comments on commit b2399f4

Please sign in to comment.