Remove invalid parameter passed to Device.cancel().
Fixes https://github.com/gpodder/gpodder/issues/1212#issuecomment-1069661280
This commit is contained in:
parent
a35e81fe0e
commit
f6bae4f780
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue