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/remote/ThriftBackend.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pyload/remote/ThriftBackend.py') diff --git a/pyload/remote/ThriftBackend.py b/pyload/remote/ThriftBackend.py index f71e264e2..9e0afda16 100644 --- a/pyload/remote/ThriftBackend.py +++ b/pyload/remote/ThriftBackend.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # @author: RaNaN, mkaay -from os.path import exists +import os from pyload.manager.Remote import BackendBase @@ -23,7 +23,7 @@ class ThriftBackend(BackendBase): cert = None if self.core.config.get("ssl", "activated"): - if exists(self.core.config.get("ssl", "cert")) and exists(self.core.config.get("ssl", "key")): + if os.path.exists(self.core.config.get("ssl", "cert")) and os.path.exists(self.core.config.get("ssl", "key")): self.core.log.info(_("Using SSL ThriftBackend")) key = self.core.config.get("ssl", "key") cert = self.core.config.get("ssl", "cert") -- cgit v1.2.3