aboutsummaryrefslogtreecommitdiff
path: root/jobs/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'jobs/__init__.py')
-rwxr-xr-xjobs/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/jobs/__init__.py b/jobs/__init__.py
index 9955164..0e780eb 100755
--- a/jobs/__init__.py
+++ b/jobs/__init__.py
@@ -44,10 +44,10 @@ class JobFinder:
# It has to do with JobBase being imported multiple times (within jobs) or something
if base.__name__ == 'JobBase':
# A job was found, keep it
- self._jobs.add(obj())
+ self._jobs.add(obj(self.config))
elif base.__name__ == 'JobSpawner':
spawner = obj()
- for j in spawner.get_sub_jobs():
+ for j in spawner.get_sub_jobs(self.config):
self._jobs.add(j)