From bbaac34ea11bf6ffa347a3b1a2effe2b4891fddc Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Sun, 19 Apr 2015 18:02:35 +0200 Subject: Spare code cosmetics (6) --- pyload/network/HTTPChunk.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'pyload/network/HTTPChunk.py') diff --git a/pyload/network/HTTPChunk.py b/pyload/network/HTTPChunk.py index aaf29355e..86c88fe8e 100644 --- a/pyload/network/HTTPChunk.py +++ b/pyload/network/HTTPChunk.py @@ -310,7 +310,8 @@ class HTTPChunk(HTTPRequest): """ closes everything, unusable after this """ if self.fp: self.fp.close() self.c.close() - if hasattr(self, "p"): del self.p + if hasattr(self, "p"): + del self.p def charEnc(enc): -- cgit v1.2.3