Skip to content

Commit a19ea1c

Browse files
committed
Fix a bytes-to-str conversion in python 3.4
1 parent 5d52591 commit a19ea1c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

libnmap/process.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ def run(self):
260260

261261
while self.__nmap_proc.poll() is None:
262262
for streamline in iter(self.__nmap_proc.stdout.readline, ''):
263-
self.__stdout += streamline
263+
self.__stdout += str(streamline)
264264
evnt = self.__process_event(streamline)
265265
if self.__nmap_event_callback and evnt:
266266
self.__nmap_event_callback(self)

0 commit comments

Comments
 (0)