python-libnmap icon indicating copy to clipboard operation
python-libnmap copied to clipboard

NmapProcess.progress is a string or int

Open Code0x58 opened this issue 8 years ago • 0 comments

The code uses defaults which are ints (0 or 100), but the values retrieved from the XML are strings. I think it would be more useful to return the value as a float.

The documentation is vague and says the value is "percentage of job processed.", this change should probably be updated to mention the type.

nmap 7.01 + python-libnmap 0.6.1

Code0x58 avatar Apr 01 '17 10:04 Code0x58