mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 12:41:30 +00:00
minor update
This commit is contained in:
@@ -27,8 +27,10 @@ def profile(profileOutputFile=None, dotOutputFile=None, imageOutputFile=None):
|
|||||||
import gtk
|
import gtk
|
||||||
import pydot
|
import pydot
|
||||||
except ImportError, e:
|
except ImportError, e:
|
||||||
errMsg = "profiling requires third-party libraries (%s)" % getUnicode(e, UNICODE_ENCODING)
|
errMsg = "profiling requires third-party libraries (%s). " % getUnicode(e, UNICODE_ENCODING)
|
||||||
|
errMsg += "quick steps: 1) install http://code.google.com/p/pydot/ 2) sudo apt-get install python-profiler graphviz"
|
||||||
logger.error(errMsg)
|
logger.error(errMsg)
|
||||||
|
|
||||||
return
|
return
|
||||||
|
|
||||||
if profileOutputFile is None:
|
if profileOutputFile is None:
|
||||||
|
|||||||
Reference in New Issue
Block a user