Skip to content

Commit 8a0b43c

Browse files
committed
EPUB: directory for CSS is inside EPUB directory
1 parent 9aa6394 commit 8a0b43c

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

pretext/pretext.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3393,9 +3393,6 @@ def epub(xml_source, pub_file, out_file, dest_dir, math_format, stringparams):
33933393
for root, dirs, files in os.walk("META-INF"):
33943394
for name in files:
33953395
epub.write(os.path.join(root, name))
3396-
for root, dirs, files in os.walk("css"):
3397-
for name in files:
3398-
epub.write(os.path.join(root, name))
33993396
derivedname = get_output_filename(xml_source, out_file, dest_dir, ".epub")
34003397
log.info("EPUB file deposited as {}".format(derivedname))
34013398
shutil.copy2(epub_file, derivedname)

0 commit comments

Comments
 (0)