summaryrefslogtreecommitdiffstats
path: root/module/plugins/internal/Extractor.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/internal/Extractor.py')
-rw-r--r--module/plugins/internal/Extractor.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/module/plugins/internal/Extractor.py b/module/plugins/internal/Extractor.py
index 39220508e..97c2c63b1 100644
--- a/module/plugins/internal/Extractor.py
+++ b/module/plugins/internal/Extractor.py
@@ -85,7 +85,9 @@ class Extractor(Plugin):
"""
Initialize extractor for specific file
"""
- self.manager = manager
+ self.pyload = manager.core
+ self.info = {} #: Provide information in dict here
+
self.filename = filename
self.out = out
self.fullpath = fullpath
@@ -96,7 +98,7 @@ class Extractor(Plugin):
self.keepbroken = keepbroken
self.files = [] #: Store extracted files here
- pyfile = self.manager.core.files.getFile(fid) if fid else None
+ pyfile = self.pyload.files.getFile(fid) if fid else None
self.notify_progress = lambda x: pyfile.setProgress(x) if pyfile else lambda x: None
self.init()