logic error
This commit is contained in:
parent
3d30a45e72
commit
4a10795144
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ shouldTransfer dstatus t = go =<< currentTransfers <$> getDaemonStatus dstatus
|
|||
go m
|
||||
| M.member t m = return False
|
||||
| transferDirection t == Download =
|
||||
inAnnex $ transferKey t
|
||||
not <$> inAnnex (transferKey t)
|
||||
| otherwise = return True
|
||||
|
||||
{- Waits for any of the transfers in the map to complete. -}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue