summaryrefslogtreecommitdiffstats
path: root/scripts/pybootchartgui/pybootchartgui/batch.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/pybootchartgui/pybootchartgui/batch.py')
-rw-r--r--scripts/pybootchartgui/pybootchartgui/batch.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/pybootchartgui/pybootchartgui/batch.py b/scripts/pybootchartgui/pybootchartgui/batch.py
index bd67c9350e..3c1dbf8416 100644
--- a/scripts/pybootchartgui/pybootchartgui/batch.py
+++ b/scripts/pybootchartgui/pybootchartgui/batch.py
@@ -14,10 +14,10 @@ def render(res, format, filename):
14 return 10 14 return 10
15 15
16 make_surface, write_surface = handlers[format] 16 make_surface, write_surface = handlers[format]
17 w,h = draw.extents(*res) 17 w,h = draw.extents(res)
18 w = max(w, draw.MIN_IMG_W) 18 w = max(w, draw.MIN_IMG_W)
19 surface = make_surface(w,h) 19 surface = make_surface(w,h)
20 ctx = cairo.Context(surface) 20 ctx = cairo.Context(surface)
21 draw.render(ctx, *res) 21 draw.render(ctx, res)
22 write_surface(surface) 22 write_surface(surface)
23 23