Skip to content

Commit

Permalink
Fix a bytes-to-str conversion in python 3.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Dutchy- committed May 21, 2015
1 parent 5d52591 commit a19ea1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libnmap/process.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ def run(self):

while self.__nmap_proc.poll() is None:
for streamline in iter(self.__nmap_proc.stdout.readline, ''):
self.__stdout += streamline
self.__stdout += str(streamline)
evnt = self.__process_event(streamline)
if self.__nmap_event_callback and evnt:
self.__nmap_event_callback(self)
Expand Down

0 comments on commit a19ea1c

Please sign in to comment.