Skip to content

Commit

Permalink
EPUB: directory for CSS is inside EPUB directory
Browse files Browse the repository at this point in the history
  • Loading branch information
rbeezer committed Dec 27, 2024
1 parent 9aa6394 commit 8a0b43c
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions pretext/pretext.py
Original file line number Diff line number Diff line change
Expand Up @@ -3393,9 +3393,6 @@ def epub(xml_source, pub_file, out_file, dest_dir, math_format, stringparams):
for root, dirs, files in os.walk("META-INF"):
for name in files:
epub.write(os.path.join(root, name))
for root, dirs, files in os.walk("css"):
for name in files:
epub.write(os.path.join(root, name))
derivedname = get_output_filename(xml_source, out_file, dest_dir, ".epub")
log.info("EPUB file deposited as {}".format(derivedname))
shutil.copy2(epub_file, derivedname)
Expand Down

0 comments on commit 8a0b43c

Please sign in to comment.