|
|
@ -73,7 +73,7 @@ class Bureau(object):
|
|
|
|
modpath = os.path.dirname(__file__)
|
|
|
|
modpath = os.path.dirname(__file__)
|
|
|
|
xvfb = "xvfb-run"
|
|
|
|
xvfb = "xvfb-run"
|
|
|
|
slimerjs = os.path.join(modpath, "..", "lib", "slimerjs", "slimerjs")
|
|
|
|
slimerjs = os.path.join(modpath, "..", "lib", "slimerjs", "slimerjs")
|
|
|
|
renderer = os.path.join(modpath, "..", "lib", "rasterize.js")
|
|
|
|
renderer = os.path.join(modpath, "..", "slimerjs", "rasterize.js")
|
|
|
|
self.slimerjs = os.path.abspath(slimerjs)
|
|
|
|
self.slimerjs = os.path.abspath(slimerjs)
|
|
|
|
self.html2pdf = xvfb + " " + self.slimerjs + " " + \
|
|
|
|
self.html2pdf = xvfb + " " + self.slimerjs + " " + \
|
|
|
|
os.path.abspath(renderer) + " "
|
|
|
|
os.path.abspath(renderer) + " "
|
|
|
|