From 029fb3051a6fa802e3101e6602e747b9f81f055d Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Mon, 30 Apr 2012 00:49:11 +0200 Subject: [PATCH] pycurl import only when instancing --- deefuzzer/tools/streamer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deefuzzer/tools/streamer.py b/deefuzzer/tools/streamer.py index 8454dbb..13dafc0 100644 --- a/deefuzzer/tools/streamer.py +++ b/deefuzzer/tools/streamer.py @@ -37,7 +37,6 @@ # Author: Guillaume Pellerin from threading import Thread -import pycurl class HTTPStreamer(Thread): @@ -58,6 +57,7 @@ class HTTPStreamer(Thread): def __init__(self): Thread.__init__(self) + import pycurl self.curl = pycurl.Curl() def set_callback(self, read_callback): -- 2.39.5