forked from platypush/platypush
Explicit cast of possible dict_keys element to list() before copy()
This commit is contained in:
parent
45d998130b
commit
a07cb6ec3d
1 changed files with 1 additions and 1 deletions
|
@ -450,7 +450,7 @@ class RtorrentPlugin(TorrentPlugin):
|
|||
Terminate all the active transfers and quit the monitor.
|
||||
"""
|
||||
# noinspection PyUnresolvedReferences
|
||||
torrents = self.status().output.keys().copy()
|
||||
torrents = list(self.status().output.keys()).copy()
|
||||
for torrent in torrents:
|
||||
self.remove(torrent)
|
||||
|
||||
|
|
Loading…
Reference in a new issue