Skip to content

Commit

Permalink
Create tmp_dir
Browse files Browse the repository at this point in the history
  • Loading branch information
kthoden committed Apr 9, 2020
1 parent 2114e80 commit 3b4a36e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/eoatex2imxml.py
Original file line number Diff line number Diff line change
Expand Up @@ -775,7 +775,10 @@ def process_inline_equations( xmlChapters ):
# Get tmp-directory for this user account
# tmpDir = os.getenv("TMPDIR")
# use local tmpdir

formula_tmp_dir = TEMP_DIR / "formulas2png"
if not os.path.exists( formula_tmp_dir ):
os.mkdir( formula_tmp_dir )

# Make directory items if it doesn't already exist
items_dir = OUTPUT_DIR / "items"
Expand Down

0 comments on commit 3b4a36e

Please sign in to comment.