diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-01-22 22:21:23 +0100 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-01-22 22:21:23 +0100 |
commit | 4dc4268919d29de81679c99173b39529d8e41f44 (patch) | |
tree | acbdf01d0390053bd4c70d075a59ea74f421755c /module/pyunrar.py | |
parent | fixes for chunked download (diff) | |
download | pyload-4dc4268919d29de81679c99173b39529d8e41f44.tar.xz |
added missing curl.close
Diffstat (limited to 'module/pyunrar.py')
-rw-r--r-- | module/pyunrar.py | 6 |
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 |