Skip to content

Commit

Permalink
Fixed style error
Browse files Browse the repository at this point in the history
  • Loading branch information
swetayadav1 committed May 29, 2024
1 parent a210a90 commit 8a08a77
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions nxdrive/engine/engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -819,9 +819,7 @@ def resume_transfer(
meth = (
self.dao.get_download
if nature == "download"
else self.dao.get_dt_upload
if is_direct_transfer
else self.dao.get_upload
else self.dao.get_dt_upload if is_direct_transfer else self.dao.get_upload
)
func = partial(meth, uid=uid) # type: ignore
self._resume_transfers(nature, func, is_direct_transfer=is_direct_transfer)
Expand Down

0 comments on commit 8a08a77

Please sign in to comment.