Skip to content

Commit 8852039

Browse files
jerritarleb
authored andcommitted
Set a default for python_path.
Fixes #99.
1 parent 5333b9e commit 8852039

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

diagram-generator/diagram-generator.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ local inkscape_path = os.getenv("INKSCAPE") or "inkscape"
3232

3333
-- The Python path. In order to define a Python version per pandoc document,
3434
-- use the meta data to define the key "python_path".
35-
local python_path = os.getenv("PYTHON")
35+
local python_path = os.getenv("PYTHON") or "python"
3636

3737
-- The Python environment's activate script. Can be set on a per document
3838
-- basis by using the meta data key "activatePythonPath".

0 commit comments

Comments
 (0)