From 9d2f90775a1d956558ad3238a0c4aa4b652306cb Mon Sep 17 00:00:00 2001
From: RaNaN <Mast3rRaNaN@hotmail.de>
Date: Mon, 20 Sep 2010 16:20:24 +0200
Subject: new tmp folder for unrar

---
 module/plugins/hooks/UnRar.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'module/plugins')

diff --git a/module/plugins/hooks/UnRar.py b/module/plugins/hooks/UnRar.py
index 6bd650b4a..4f989e804 100644
--- a/module/plugins/hooks/UnRar.py
+++ b/module/plugins/hooks/UnRar.py
@@ -111,7 +111,7 @@ class UnRar(Hook):
             else:
                 folder = download_folder
             
-            u = Unrar(join(folder, fname))
+            u = Unrar(join(folder, fname), tmpdir=join(folder, "tmp"))
             try:
                 success = u.crackPassword(passwords=self.passwords, statusFunction=s, overwrite=True, destination=folder, fullPath=self.getConfig("fullpath"))
             except WrongPasswordError:
-- 
cgit v1.2.3