From 8ad552d92276385bb4aef39446d67d3fe0673aa0 Mon Sep 17 00:00:00 2001 From: Carey Metcalfe Date: Sun, 14 Jan 2024 09:03:38 -0500 Subject: [PATCH] Fix typo in api docs --- docs/api.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api.rst b/docs/api.rst index 8d64e0f..e5db642 100644 --- a/docs/api.rst +++ b/docs/api.rst @@ -76,7 +76,7 @@ The ``FitFile`` Object try: fitfile = FitFile('/path.to/fitfile.fit') fitfile.parse() - except FitParseError, e: + except FitParseError as e: print "Error while parsing .FIT file: %s" % e sys.exit(1)