explicitely use absolute path in renderer
This commit is contained in:
parent
227a9236aa
commit
eec99c6e02
1 changed files with 2 additions and 1 deletions
|
@ -1,3 +1,4 @@
|
||||||
|
import os
|
||||||
import subprocess
|
import subprocess
|
||||||
import xml.etree.ElementTree as ET
|
import xml.etree.ElementTree as ET
|
||||||
|
|
||||||
|
@ -82,7 +83,7 @@ class LevelRenderer():
|
||||||
'y': '0',
|
'y': '0',
|
||||||
'width': str(width),
|
'width': str(width),
|
||||||
'height': str(height),
|
'height': str(height),
|
||||||
'xlink:href': image
|
'xlink:href': os.path.abspath(image)
|
||||||
})
|
})
|
||||||
svg.append(contents)
|
svg.append(contents)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue