Skip to content

Commit

Permalink
Merge pull request AllenDowney#41 from AmesHarrison/patch-1
Browse files Browse the repository at this point in the history
new preamble/body demarcation string
  • Loading branch information
AllenDowney authored Sep 4, 2018
2 parents ad64978 + d044b7b commit 59eab5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/analyze_book1.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def skip_gutenberg_header(fp):
fp: open file object
"""
for line in fp:
if line.startswith('*END*THE SMALL PRINT!'):
if line.startswith('*** START OF TH'):
break


Expand Down

0 comments on commit 59eab5c

Please sign in to comment.