Skip to content

Commit

Permalink
Fix typo in api docs
Browse files Browse the repository at this point in the history
  • Loading branch information
pR0Ps committed Jan 14, 2024
1 parent 4fc9cd8 commit 8ad552d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 8ad552d

Please sign in to comment.