From 971754eba93701cfb22bc4399a37debf238eddf1 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Tue, 12 May 2015 22:25:39 +0200 Subject: General fixup (1) --- pyload/network/HTTPChunk.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pyload/network/HTTPChunk.py') diff --git a/pyload/network/HTTPChunk.py b/pyload/network/HTTPChunk.py index 1ce72a918..5252afb06 100644 --- a/pyload/network/HTTPChunk.py +++ b/pyload/network/HTTPChunk.py @@ -101,7 +101,7 @@ class ChunkInfo(object): return ci - def os.remove(self): + def remove(self): fs_name = fs_encode("%s.chunks" % self.name) if os.path.exists(fs_name): os.remove(fs_name) @@ -305,7 +305,7 @@ class HTTPChunk(HTTPRequest): self.fp.close() #: needs to be closed, or merging chunks will fail - def os.close(self): + def close(self): """ closes everything, unusable after this """ if self.fp: self.fp.close() self.c.close() -- cgit v1.2.3