Skip to content

Commit

Permalink
fix: Fix Download.move_up method (it was doing the inverse)
Browse files Browse the repository at this point in the history
  • Loading branch information
pawamoy committed Oct 11, 2019
1 parent d0fbcff commit 96a287a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/aria2p/downloads.py
Original file line number Diff line number Diff line change
Expand Up @@ -732,7 +732,7 @@ def move_up(self, pos=1):
Returns:
int: The new position of the download.
"""
return self.api.move_up(self, -pos)
return self.api.move_up(self, pos)

def move_down(self, pos=1):
"""
Expand Down

0 comments on commit 96a287a

Please sign in to comment.