summaryrefslogtreecommitdiffstats
path: root/module/plugins/AccountManager.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-02-07 22:11:27 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-02-07 22:11:27 +0100
commita67b1efd6ef96b9f942dfb521ede1d07eb1b0ed9 (patch)
tree1b8af90c4d2e6af2795c2f980f5206a4ea9e17d7 /module/plugins/AccountManager.py
parentlittle fix (diff)
downloadpyload-a67b1efd6ef96b9f942dfb521ede1d07eb1b0ed9.tar.xz
closed #234
Diffstat (limited to 'module/plugins/AccountManager.py')
-rw-r--r--module/plugins/AccountManager.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/module/plugins/AccountManager.py b/module/plugins/AccountManager.py
index d0955ecee..bd0871705 100644
--- a/module/plugins/AccountManager.py
+++ b/module/plugins/AccountManager.py
@@ -21,6 +21,7 @@ from os.path import exists
from shutil import copy
from module.PullEvents import AccountUpdateEvent
+from module.utils import chmod
ACC_VERSION = 1
@@ -127,6 +128,7 @@ class AccountManager():
f.write("\t@%s %s\n" % (option, " ".join(values)))
f.close()
+ chmod(f.name, 0600)
#----------------------------------------------------------------------