diff options
author | 2015-05-12 02:00:28 +0200 | |
---|---|---|
committer | 2015-05-12 03:22:29 +0200 | |
commit | 0349b81a10d2937897f30031c4dedb49aa132d8c (patch) | |
tree | 3db2827cd64888cc013e064d4e201b8a6ddbc7a9 /pyload/manager/Account.py | |
parent | Merge pull request #12 from GammaC0de/GammaC0de-fix-api (diff) | |
download | pyload-0349b81a10d2937897f30031c4dedb49aa132d8c.tar.xz |
'from os' -> 'import os' and so on...
Diffstat (limited to 'pyload/manager/Account.py')
-rw-r--r-- | pyload/manager/Account.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/pyload/manager/Account.py b/pyload/manager/Account.py index ad770a1a8..b743ccabc 100644 --- a/pyload/manager/Account.py +++ b/pyload/manager/Account.py @@ -2,11 +2,10 @@ from __future__ import with_statement +import os import shutil import threading -from os.path import exists - from pyload.manager.Event import AccountUpdateEvent from pyload.utils import chmod, lock @@ -133,7 +132,7 @@ class AccountManager(object): for option, values in data['options'].iteritems(): f.write("\t@%s %s\n" % (option, " ".join(values))) - chmod(f.name, 0600) + os.chmod(f.name, 0600) except Exception, e: self.core.log.error(str(e)) |