summaryrefslogtreecommitdiffstats
path: root/module/plugins/internal
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-10-19 10:02:45 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-10-19 10:02:45 +0200
commitd92ff9af660af2f31e7ca3e69453425076a45657 (patch)
tree3573794c5c0d8ab21f5c9f0f12fa5aa23ebf188a /module/plugins/internal
parentFix https://github.com/pyload/pyload/issues/2055 (diff)
downloadpyload-d92ff9af660af2f31e7ca3e69453425076a45657.tar.xz
Fix https://github.com/pyload/pyload/issues/2058
Diffstat (limited to 'module/plugins/internal')
-rw-r--r--module/plugins/internal/Extractor.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/module/plugins/internal/Extractor.py b/module/plugins/internal/Extractor.py
index a8002a1d2..005bfbfd5 100644
--- a/module/plugins/internal/Extractor.py
+++ b/module/plugins/internal/Extractor.py
@@ -35,7 +35,7 @@ class PasswordError(Exception):
class Extractor(Plugin):
__name__ = "Extractor"
__type__ = "extractor"
- __version__ = "0.36"
+ __version__ = "0.37"
__status__ = "testing"
__description__ = """Base extractor plugin"""
@@ -93,6 +93,7 @@ class Extractor(Plugin):
overwrite=False,
excludefiles=[],
renice=False,
+ priority=0,
keepbroken=False,
fid=None):
"""
@@ -106,7 +107,7 @@ class Extractor(Plugin):
self.fullpath = fullpath
self.overwrite = overwrite
self.excludefiles = excludefiles
- self.priority = int(priority)
+ self.priority = priority
self.keepbroken = keepbroken
self.files = [] #: Store extracted files here