Fixed removeFinishedDownloads

This commit is contained in:
RemixDev 2020-08-17 00:33:13 +02:00
parent cae72c51fd
commit b2b7c450d4
1 changed files with 1 additions and 1 deletions

View File

@ -492,7 +492,7 @@ class QueueManager:
def removeFinishedDownloads(self, interface=None): def removeFinishedDownloads(self, interface=None):
for uuid in self.queueComplete: for uuid in self.queueComplete:
del self.queueList[self.uuid] del self.queueList[uuid]
self.queueComplete = [] self.queueComplete = []
if interface: if interface:
interface.send("removedFinishedDownloads") interface.send("removedFinishedDownloads")