From 5bb2b0f895d4af6e0706ed15c0fec7cda6c4f258 Mon Sep 17 00:00:00 2001 From: Klaus Thoden Date: Mon, 13 Nov 2017 15:15:17 +0100 Subject: [PATCH] Use function to create directory structure --- libeoaconvert.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libeoaconvert.py b/libeoaconvert.py index ab161a0..5a30efb 100644 --- a/libeoaconvert.py +++ b/libeoaconvert.py @@ -6,7 +6,7 @@ import shlex if not os.path.exists("tmp_files/tmp_images/"): - os.mkdir(os.path.expanduser("tmp_files/tmp_images/")) + os.makedirs(os.path.expanduser("tmp_files/tmp_images/")) tmp_image_dir = os.getcwd() + "/tmp_files/tmp_images/" Datei = open('tmp_files/xelatex-run-images.log', 'w')