summaryrefslogtreecommitdiffstats
path: root/module/pyunrar.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-01-22 22:21:23 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-01-22 22:21:23 +0100
commit4dc4268919d29de81679c99173b39529d8e41f44 (patch)
treeacbdf01d0390053bd4c70d075a59ea74f421755c /module/pyunrar.py
parentfixes for chunked download (diff)
downloadpyload-4dc4268919d29de81679c99173b39529d8e41f44.tar.xz
added missing curl.close
Diffstat (limited to 'module/pyunrar.py')
-rw-r--r--module/pyunrar.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/module/pyunrar.py b/module/pyunrar.py
index a01cb633a..d873ef9bc 100644
--- a/module/pyunrar.py
+++ b/module/pyunrar.py
@@ -292,11 +292,11 @@ class Unrar():
if self.ram:
size = self.biggestFiles["size"] / 1024 ** 2
- if self.ram < 127 and size > 100:
+ if self.ram < 127 and size > 500:
raise LowRamError
- elif self.ram < 256 and size > 300:
+ elif self.ram < 256 and size > 1000:
raise LowRamError
- elif self.ram < 512 and size > 2000:
+ elif self.ram < 512 and size > 5000:
raise LowRamError
tdir = self.tmpdir