Skip to content

Commit 96cb3e5

Browse files
authored
Merge pull request dtcooper#34 from flokli/readme-fixes
Readme fixes
2 parents b493ccd + 075c9a3 commit 96cb3e5

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

docs/index.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ The easiest way to grab :mod:`fitparse` is using ``pip``,
3737

3838
::
3939

40-
$ pip install python-fitparse
40+
$ pip install fitparse
4141

4242

4343
From github
@@ -96,12 +96,12 @@ Here's a simple program to print all the record fields in an activity file::
9696

9797
# Print the records name and value (and units if it has any)
9898
if record_data.units:
99-
print " * %s: %s %s" % (
99+
print(" * %s: %s %s" % (
100100
record_data.name, record_data.value, record_data.units,
101-
)
101+
))
102102
else:
103-
print " * %s: %s" % (record_data.name, record_data.value)
104-
print
103+
print(" * %s: %s" % (record_data.name, record_data.value))
104+
print()
105105

106106

107107
License

0 commit comments

Comments
 (0)