diff --git a/utils/shapefile/shapefile_reader.py b/utils/shapefile/shapefile_reader.py index d29a318ba..318ec90cb 100755 --- a/utils/shapefile/shapefile_reader.py +++ b/utils/shapefile/shapefile_reader.py @@ -48,8 +48,8 @@ if __name__ == "__main__" : print "SHAPES COUNT=",count delta = shp_file_length-calc_total_size if delta > 0 : - print "BAD SHAPE FILE: extra ", 2*(shp_file_length-calc_total_size),"bytes" + print "BAD SHAPE FILE: extra ", 2*delta,"bytes" elif delta < 0: - print "BAD SHAPE FILE: missing ", 2*(shp_file_length-calc_total_size),"bytes" + print "BAD SHAPE FILE: missing ", 2*delta,"bytes" else: - print "SHAPE FILE IS GOOD!" + print "SHAPE FILE LOOKS GOOD!"