Remove invalid parameter passed to Device.cancel().

Fixes https://github.com/gpodder/gpodder/issues/1212#issuecomment-1069661280
This commit is contained in:
auouymous 2022-03-16 17:03:03 -06:00
parent a35e81fe0e
commit f6bae4f780
1 changed files with 1 additions and 1 deletions

View File

@ -799,7 +799,7 @@ class SyncTask(download.DownloadTask):
# Otherwise request cancellation
elif self.status == self.DOWNLOADING:
self.status = self.CANCELLING
self.device.cancel(self)
self.device.cancel()
def removed_from_list(self):
if self.status != self.DONE: