summaryrefslogtreecommitdiffstats
path: root/deluge
diff options
context:
space:
mode:
authorCalum Lind <calumlind+deluge@gmail.com>2019-06-11 20:54:18 +0100
committerCalum Lind <calumlind+deluge@gmail.com>2019-06-12 09:40:14 +0100
commit86ddadacf7ef061b303e769a64fc8db2960e89e8 (patch)
tree4dc5d768670ca806bad42b04d3acc9864d84f934 /deluge
parent632089940cb2a9ebdc66b1f443ab8905daee074d (diff)
downloaddeluge-86ddadacf7ef061b303e769a64fc8db2960e89e8.tar.gz
deluge-86ddadacf7ef061b303e769a64fc8db2960e89e8.tar.bz2
deluge-86ddadacf7ef061b303e769a64fc8db2960e89e8.zip
[Extractor] Fix startup error
On Python 3 need to create a copy of the dict to iterate Fixes: #3264
Diffstat (limited to 'deluge')
-rw-r--r--deluge/plugins/Extractor/deluge_extractor/core.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/deluge/plugins/Extractor/deluge_extractor/core.py b/deluge/plugins/Extractor/deluge_extractor/core.py
index 99d1b083a..8fa5bd3da 100644
--- a/deluge/plugins/Extractor/deluge_extractor/core.py
+++ b/deluge/plugins/Extractor/deluge_extractor/core.py
@@ -89,7 +89,7 @@ else:
# Test command exists and if not, remove.
for command in required_cmds:
if not which(command):
- for k, v in EXTRACT_COMMANDS.items():
+ for k, v in list(EXTRACT_COMMANDS.items()):
if command in v[0]:
log.warning('%s not found, disabling support for %s', command, k)
del EXTRACT_COMMANDS[k]