summaryrefslogtreecommitdiffstats
path: root/module/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins')
-rw-r--r--module/plugins/hooks/ExternalScripts.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/module/plugins/hooks/ExternalScripts.py b/module/plugins/hooks/ExternalScripts.py
index 8bd803308..3b9c9ca05 100644
--- a/module/plugins/hooks/ExternalScripts.py
+++ b/module/plugins/hooks/ExternalScripts.py
@@ -3,8 +3,6 @@
import os
import subprocess
-from itertools import chain
-
from module.plugins.Hook import Hook
from module.utils import save_join
@@ -142,10 +140,10 @@ class ExternalScripts(Hook):
def allDownloadsFinished(self):
- for script in chain(self.scripts['all_downloads_finished'], self.scripts['all_dls_finished']):
+ for script in self.scripts['all_downloads_finished'] + self.scripts['all_dls_finished']):
self.callScript(script)
def allDownloadsProcessed(self):
- for script in chain(self.scripts['all_downloads_processed'], self.scripts['all_dls_processed']):
+ for script in self.scripts['all_downloads_processed'] + self.scripts['all_dls_processed']:
self.callScript(script)