diff options
author | 2015-07-19 11:44:49 +0200 | |
---|---|---|
committer | 2015-07-19 11:44:49 +0200 | |
commit | 56389e28ba5d2f5658278bc7f486d73be747f135 (patch) | |
tree | ac51ad216508487294b15fcaebc813b3add5c393 /module/plugins/internal/Extractor.py | |
parent | Code cosmetics (3) (diff) | |
download | pyload-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.py | 6 |
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() |