Skip to content

Commit

Permalink
Merge pull request #330 from laymance/master
Browse files Browse the repository at this point in the history
Fix for #324 (uploadMirrors not working)
  • Loading branch information
elistone authored Oct 19, 2016
2 parents 7e6b5df + 88b6495 commit d0a34dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/UploadListener.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class UploadListener
if @queue.length()
task = @queue._tasks.head
while task
if task.data.localFilePath == localFilePath && task.data.action == action
if task.data.localFilePath == localFilePath && task.data.action == action && task.data.transport.settings.transport == transport.settings.transport && task.data.transport.settings.hostname == transport.settings.hostname && task.data.transport.settings.port == transport.settings.port && task.data.transport.settings.target == transport.settings.target
task.data.discard = true
task = task.next

Expand Down

0 comments on commit d0a34dd

Please sign in to comment.