explicitely use absolute path in renderer

This commit is contained in:
Laura Klünder 2016-12-19 03:01:00 +01:00
parent 227a9236aa
commit eec99c6e02

View file

@ -1,3 +1,4 @@
import os
import subprocess
import xml.etree.ElementTree as ET
@ -82,7 +83,7 @@ class LevelRenderer():
'y': '0',
'width': str(width),
'height': str(height),
'xlink:href': image
'xlink:href': os.path.abspath(image)
})
svg.append(contents)