Index: src/python/bin/gnuboat-log-converter
===================================================================
--- src/python/bin/gnuboat-log-converter	(revision b45e75de24242d8bb895ba7a6ff51bbd861a0143)
+++ src/python/bin/gnuboat-log-converter	(revision 23fa35430591eca4427d43c462f770f877759769)
@@ -43,5 +43,5 @@
            return int(string)
         except ValueError as error:
-           print('INFO: Failed to convert value from line %s into numeric: {:s}\n      Message: {:s}'.format(current_row, string, error))
+           print('INFO: Failed to convert value from line {} into numeric: {}\n      Message: {}'.format(current_row, string, error))
            return 0
 
@@ -54,5 +54,5 @@
     matches = regex_nmea_position.match(nmea_value)
     if matches is None:
-        print('INFO: Failed to convert position value from line {:s} into decimal degrees: {:s}'.format(current_row, nmea_value))
+        print('INFO: Failed to convert position value from line {} into decimal degrees: {}'.format(current_row, nmea_value))
         return
     decimalDegrees = toFloat(matches.group(1), current_row)
@@ -109,6 +109,6 @@
                             'water_depth': None,
                             'water_temperature': None}
-            elif nmea_sentence.sentence_type == 'DBT' and last_row is not None:
-                last_row['water_depth'] = toFloat(nmea_sentence.depth_meters, current_row)
+            elif nmea_sentence.sentence_type == 'DPT' and last_row is not None:
+                last_row['water_depth'] = toFloat(nmea_sentence.depth, current_row)
             elif nmea_sentence.sentence_type == 'MTW' and last_row is not None:
                 last_row['water_temperature'] = toFloat(nmea_sentence.temperature, current_row)
