diff --git a/ais/tag_block.py b/ais/tag_block.py index 07485f9..d26c97a 100644 --- a/ais/tag_block.py +++ b/ais/tag_block.py @@ -136,7 +136,7 @@ def put(self, line, line_num=None): if decoded: msg['decoded'] = decoded else: - logger.info('No NMEA match for line: %d, %s', line_num, line) + logger.info('No NMEA match for line: %d, %s', self.line_num, line) Queue.Queue.put(self, msg) return