From 099eb1a385c099185843efbbf44572f0b9c7a7f5 Mon Sep 17 00:00:00 2001 From: typebrook Date: Thu, 13 Feb 2020 12:01:14 +0800 Subject: update --- scripts/gpx/check_gpx.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/gpx/check_gpx.py') diff --git a/scripts/gpx/check_gpx.py b/scripts/gpx/check_gpx.py index fc594d1..10be97c 100755 --- a/scripts/gpx/check_gpx.py +++ b/scripts/gpx/check_gpx.py @@ -79,7 +79,7 @@ def main(argv): parser.add_argument("-d", help="distance of tolerance(m), 100 by default", dest="distance", default=100) args = parser.parse_args() for file in args.file: - check_valid(file, args.distance, args.i) + check_valid(file, float(args.distance), args.i) if __name__ == '__main__': main(sys.argv) -- cgit v1.2.3-70-g09d2