summaryrefslogtreecommitdiffstats
path: root/module/plugins/hooks
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-08-17 22:14:48 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-08-17 22:14:48 +0200
commit7094105fb06be18b9aa3154d99f92441b085212c (patch)
tree60ccd61f505cd7e3c749fbfe69407dc0ed763094 /module/plugins/hooks
parentnot working restart method (diff)
downloadpyload-7094105fb06be18b9aa3154d99f92441b085212c.tar.xz
fixes unnormal pycurl behaviour
Diffstat (limited to 'module/plugins/hooks')
-rw-r--r--module/plugins/hooks/UnRar.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/module/plugins/hooks/UnRar.py b/module/plugins/hooks/UnRar.py
index 94ae9da11..d5dfa1998 100644
--- a/module/plugins/hooks/UnRar.py
+++ b/module/plugins/hooks/UnRar.py
@@ -21,7 +21,7 @@ from __future__ import with_statement
import sys
import os
from os.path import exists, join, isabs, isdir
-from os import remove, makedirs, rmdir, listdir, chown, chmod
+from os import remove, makedirs, rmdir, listdir, chmod
from traceback import print_exc
from module.plugins.Hook import Hook
@@ -31,6 +31,7 @@ from module.utils import save_join
if os.name != "nt":
from pwd import getpwnam
+ from os import chown
import re