diff options
Diffstat (limited to 'pyload/manager/Account.py')
-rw-r--r-- | pyload/manager/Account.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/pyload/manager/Account.py b/pyload/manager/Account.py index b743ccabc..8274c6592 100644 --- a/pyload/manager/Account.py +++ b/pyload/manager/Account.py @@ -7,7 +7,7 @@ import shutil import threading from pyload.manager.Event import AccountUpdateEvent -from pyload.utils import chmod, lock +from pyload.utils import lock ACC_VERSION = 1 @@ -132,7 +132,10 @@ class AccountManager(object): for option, values in data['options'].iteritems(): f.write("\t@%s %s\n" % (option, " ".join(values))) - os.chmod(f.name, 0600) + try: + os.chmod(f.name, 0600) + except Exception: + pass except Exception, e: self.core.log.error(str(e)) |