Skip to content

Commit

Permalink
auto commit
Browse files Browse the repository at this point in the history
  • Loading branch information
chrispiech committed Oct 31, 2023
1 parent 63baca5 commit d6991cb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions print/printbook.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
import hashlib


TO_SKIP = {
"calculators": True,
}

# Opening JSON file
f = open("../bookOutline.hjson")
# returns JSON object as a dictionary
Expand Down Expand Up @@ -61,6 +65,7 @@ def print_book():
for part in tqdm(data, desc="Sections"):
pdf_files[part] = {'sections':{}}
for page in data[part]['sections']:
if page in TO_SKIP: continue
print_page(part, page)

# save for table of contents
Expand Down

0 comments on commit d6991cb

Please sign in to comment.