File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -30,9 +30,6 @@ def parse_next_message(self):
3030 # 3. if it worked, great, we're oriented in the stream - continue
3131 # 4. if either couldn't be parsed, skip to the next byte and repeat
3232 while message is None and len (self .message_buffer ) > 1 :
33- ##print(self.message_buffer)
34- if (b"8a" in self .message_buffer ):
35- print ("8a found" )
3633 message_length , message_start = _DecodeVarint (self .message_buffer , 0 )
3734 # sanity check to make sure we didn't parse some huge number that's
3835 # clearly not the length prefix
Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ def read(self):
6767 if self .realtime and timestamp is not None :
6868 self ._store_timestamp (timestamp )
6969 self ._wait (self .starting_time , self .first_timestamp , timestamp )
70- return line + "\x00 "
70+ return ( line + "\x00 " ). encode ( "cp437" )
7171
7272 @staticmethod
7373 def _open_file (filename ):
You can’t perform that action at this time.
0 commit comments