From 0349b81a10d2937897f30031c4dedb49aa132d8c Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Tue, 12 May 2015 02:00:28 +0200 Subject: 'from os' -> 'import os' and so on... --- pyload/manager/Account.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'pyload/manager/Account.py') 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)) -- cgit v1.2.3