summaryrefslogtreecommitdiffstats
path: root/module/plugins
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-09-24 22:26:50 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-09-24 22:26:50 +0200
commit986781b21929d64a4b9a1a15bb55b97421aa3511 (patch)
treebcacfedf270dcefe226fdf1a41ac1b1b725d61f8 /module/plugins
parentyouporn fix and YourfilesTo support (diff)
downloadpyload-986781b21929d64a4b9a1a15bb55b97421aa3511.tar.xz
gui minimize fix, settings saveable, utf8 in config
Diffstat (limited to 'module/plugins')
-rw-r--r--module/plugins/Plugin.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/Plugin.py b/module/plugins/Plugin.py
index d197ec1a3..e7914c287 100644
--- a/module/plugins/Plugin.py
+++ b/module/plugins/Plugin.py
@@ -279,7 +279,7 @@ class Plugin(object):
if self.core.config["permission"]["change_file"]:
chmod(join(location, name), int(self.core.config["permission"]["file"],8))
- if self.core.config["permission"]["change_user"] and self.core.config["permission"]["change_group"] and os.name != "nt":
+ if self.core.config["permission"]["change_dl"] and os.name != "nt":
try:
uid = getpwnam(self.config["permission"]["user"])[2]
gid = getgrnam(self.config["permission"]["group"])[2]