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
|
go m
|
||||||
| M.member t m = return False
|
| M.member t m = return False
|
||||||
| transferDirection t == Download =
|
| transferDirection t == Download =
|
||||||
inAnnex $ transferKey t
|
not <$> inAnnex (transferKey t)
|
||||||
| otherwise = return True
|
| otherwise = return True
|
||||||
|
|
||||||
{- Waits for any of the transfers in the map to complete. -}
|
{- Waits for any of the transfers in the map to complete. -}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue