summaryrefslogtreecommitdiffstats
path: root/module/plugins/internal/Extractor.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-07-19 11:44:49 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-07-19 11:44:49 +0200
commit56389e28ba5d2f5658278bc7f486d73be747f135 (patch)
treeac51ad216508487294b15fcaebc813b3add5c393 /module/plugins/internal/Extractor.py
parentCode cosmetics (3) (diff)
downloadpyload-56389e28ba5d2f5658278bc7f486d73be747f135.tar.xz
Rename self.core to self.pyload (plugins only)
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()