summaryrefslogtreecommitdiffstats
path: root/module/pyunrar.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-10-16 14:28:34 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-10-16 14:28:34 +0200
commitaade6e6239438b582620cc52b46c63cdde880752 (patch)
tree63d600bce110fde7c2d2d384e2ce5ffc47e363f9 /module/pyunrar.py
parentclosed #131 (diff)
downloadpyload-aade6e6239438b582620cc52b46c63cdde880752.tar.xz
fixed decrypting files when dl slots are full
Diffstat (limited to 'module/pyunrar.py')
-rw-r--r--module/pyunrar.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/pyunrar.py b/module/pyunrar.py
index 0cb6d6d2e..01dc40a75 100644
--- a/module/pyunrar.py
+++ b/module/pyunrar.py
@@ -128,7 +128,7 @@ class Unrar():
args.append("-p-")
args.append(f)
p = Popen(args, stdin=PIPE, stdout=PIPE, stderr=PIPE, bufsize=-1)
- ret = p.wait()
+ ret = p.wait() #@TODO blocks for big archives with many files
if ret == 3:
self.headerEncrypted = True
raise WrongPasswordError()